[solved] Check if page has children pages?
Posted: Wed Apr 22, 2009 5:03 pm
Hi,
This seems like a simple query but a google and search on forums here has not yielded an answer for me
In my site template, I want to check and see if the page I am currently on has children pages. Is it possible to do this? NOTE: this is outside of the menu manager module etc, just within the smarty template itself.
What I am trying to do: Using some kind of {if} statement, if page has menu I want to use certain DIV's, if not I want to use others. It will save me needing to create two manual templates.
Thanks,
Lampsie
This seems like a simple query but a google and search on forums here has not yielded an answer for me

In my site template, I want to check and see if the page I am currently on has children pages. Is it possible to do this? NOTE: this is outside of the menu manager module etc, just within the smarty template itself.
What I am trying to do: Using some kind of {if} statement, if page has menu I want to use certain DIV's, if not I want to use others. It will save me needing to create two manual templates.
Thanks,
Lampsie