Page id, alias and parent variables?
Posted: Wed Apr 01, 2009 11:17 am
Hi,
I've tried searching around but couldn't find it anywhere. How can I print the page id, it's alias and hopefully the same two of the current page's parent? I have tried $gCms->variables['page_name'] but without any luck.
All this is related to my quest to avoid multiple templates =)
Thanks!
I've tried searching around but couldn't find it anywhere. How can I print the page id, it's alias and hopefully the same two of the current page's parent? I have tried $gCms->variables['page_name'] but without any luck.
All this is related to my quest to avoid multiple templates =)
Thanks!