accessing the page alias tag

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
shaunwo

accessing the page alias tag

Post 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?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: accessing the page alias tag

Post 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}
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Locked

Return to “Layout and Design (CSS & HTML)”