has children
Posted: Thu Dec 26, 2013 4:22 pm
Hello there, can i have an actually simple question?
I need to show a page in a different style if a page has siblings.
something like
<div id="{if pageHasChildren eq '1'}Complex{else}Simple{/if}">
</div>
what is the best way to find out if a page has underpages in a template?
and a bonus question can i access the parameters of those children? (i am using it with the cataloger module, so one of those user defined fields...)
Thanks
I need to show a page in a different style if a page has siblings.
something like
<div id="{if pageHasChildren eq '1'}Complex{else}Simple{/if}">
</div>
what is the best way to find out if a page has underpages in a template?
and a bonus question can i access the parameters of those children? (i am using it with the cataloger module, so one of those user defined fields...)
Thanks