| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Need help defining current location | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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 |
|||||||
#2
|
|||||||
|
|||||||
![]() 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 |
|||||||
#3
|
|||||||
|
|||||||
![]() In include/help.php add the following for each section:
Code:
This works for me with v4.0.18
__________________
maineiac x-cart gold v4.0.18 x-cart gold v4.1.8 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|