knowing what page we're on in a .TPL
Posted: Mon Dec 03, 2007 2:24 pm
Hi,
I have a template that uses links at the top of the page. They are mostly categories in the blog. I would like to make these reflect the page we're on so if it's category X that text is not a link and is a different color.
Are there variables that allow this or can I do a test on the current URL to make this happen? I'd know how to do it in php but not in the template.
Ideas and suggestions welcome!
r
I have a template that uses links at the top of the page. They are mostly categories in the blog. I would like to make these reflect the page we're on so if it's category X that text is not a link and is a different color.
Are there variables that allow this or can I do a test on the current URL to make this happen? I'd know how to do it in php but not in the template.
Ideas and suggestions welcome!
r