Here's a use case for the "Don't provide a default page" in the page include.

Pat VachonPat Vachon πŸ’ŽπŸ’ŽπŸ’Ž
edited June 25, 2020 in Ideas
Here's the comment "queue'd" up. :D












1
1 votes

Under Consideration Β· Last Updated

Comments

  • Rob HatchRob Hatch πŸ’ŽπŸ’ŽπŸ’Ž
    edited June 25, 2020
    This may seem like a hack, Β but I think it will work.Β 

    Put two page includes there. Β 1: going to a page that just says "sorry, nothing to see here" Β and 2: going to your contact detail page - and has as query string the ID of the first row of the model most predictably will have data.Β 

    Then conditionally render the two includes.Β 
    - Include 1 only renders if no rows are in that selected model.
    - Include 2 only renders if there ARE rows in that selected model.Β 


  • Pat VachonPat Vachon πŸ’ŽπŸ’ŽπŸ’Ž
    edited January 5, 2016
    I think that'll work as well. Why didn't I think of that. ;)
  • Pat VachonPat Vachon πŸ’ŽπŸ’ŽπŸ’Ž
    edited January 5, 2016
    This worked.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!