Hello,
Within my design I am trying to get the following functionality to work.
If a page has any child pages, display a list of links to those pages. However if that page has content I don't want that list of links to be displayed.
So far I have the following.
A design file that has a "has_children" show_if design area, that nests an asset listing if the page has children. This show_if has print="no" so that I can call it in the relevant part of my page.
Further down in my page I then have
My trouble is, I don't know how to create the logic that will only print the "check_for_children" is the page has no content in the "page_body".
I hope that makes sense.
Thanks
David