Need help defining current location
I need some help with defining to xcart the current page that is being displayed. I guess you would say.
For example
{if $main eq "help"} this says if your in help zone right?
and
{if $main eq "catalog" and $current_category.category eq ""}
says if your on the main page right?
ok i need 2 things-
First I need to be able to further define help zone. I need to be able to define whether im on terms and conditions, privacy statement or contact us. I guess I have to add "and" to the code but im not sure what I would put to define that.
Heres the second thing
I need to define the news page. I tried"
{if $main eq "news"} it didn't work so I guess its called something else. Is there some thing I can refer to, to see what these pages are referred to as by xcart?
Thanks in advance for any help
Mike
|