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
has children
Re: has children
Check out the CGSimpleSmarty module.. Has many functions to determine stuff like this.