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

  • 1
  • Idea
  • Updated 4 years ago
  • Under Consideration
Here's the comment "queue'd" up. :D


Here's the use case.

Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,704 Points 20k badge 2x thumb

Posted 4 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
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. 
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,704 Points 20k badge 2x thumb
I think that'll work as well. Why didn't I think of that. ;)
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,704 Points 20k badge 2x thumb
This worked.