| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Home page different from catalog page | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I really need help badly.
My client wants to have the home page different from catalog pages. He want to have some things go away basically from the home page (left nav) when you get to the catalog and other pages. Can someone please help me with the code to be able to do that? thanks in advance!! -J I've included a screenshot http://174.36.144.207/store/skin1/images/homepage_A.jpg http://174.36.144.207/store/skin1/images/layout_A.jpg
__________________
4.2.x X-Cart Gold |
|||||||
#2
|
|||||||
|
|||||||
![]() To only show something on the home page, use this:
{if $main eq "catalog" and $current_category.category eq ""} to HIDE something if it's not the home page: {if $main eq "catalog" and $current_category.category ne ""} obviously, a closing {if} as needed.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks carpeperdiem!!
Can you tell me where I put this code? like which page or template? I'm still a tad confused on that? thanks -J
__________________
4.2.x X-Cart Gold |
|||||||
#4
|
|||||||
|
|||||||
![]() Ah... what template is what?
Webmaster Mode You should probably start with the FAQ about template editing...
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
|
|||
X-Cart forums © 2001-2020
|