![]() |
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 |
OK Live and learn.... I figured out how to find out what xcart calls the pages so the second one is done. I found my answer in webmaster mode (Duh)
I still do need help with further defining the help zone to specifc pages Thanks Mike |
display 'help section' location in breadcrumb
In include/help.php add the following for each section:
Code:
if ($section == 'Password_Recovery') {$location[] = array(func_get_langvar_by_name("lbl_forgot_password"), "");} This works for me with v4.0.18 |
All times are GMT -8. The time now is 06:52 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.