Page 1 of 1

accessing the page alias tag

Posted: Fri May 23, 2008 1:16 pm
by shaunwo
I'd like to modify my templates to include a tag like this:



I tried {page_alias} and a few other things that I found here on the board when I searched for alias, but nothing's working. It's either giving me errors or just not writing anything.

For example, when setting up my content pages I have an About Us page w/ the Page Alias set to about. So on that page when it pulls in the template, it should end up w/ body id="about".

Is this possible?

Re: accessing the page alias tag

Posted: Fri May 23, 2008 1:21 pm
by calguy1000
1) Read the various sticky topics in the threads
2) Read the manual
3) Read the smarty manual
4) see {get_template_vars}
5) {$page_alias}