| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Homepage only images | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Hi!
X-Cart version 4.4.5 Im adding a div layer for call to actions that I only want visible on the homepage. How can I remove this from all other pages? Is there a CSS class i can grab from only the homepage or is there XCART code I can use? Thanks X-Cart version 4.4.5
__________________
Version 4.4.5 |
|||||||
|
#2
|
|||||||
|
|||||||
|
Use Smarty:
Code:
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#3
|
|||||||||
|
|||||||||
|
{if $main eq "catalog" and $current_category.category eq ""}
Show this. {/if} Edit: Padriac is fast...
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#4
|
|||||||||
|
|||||||||
|
If the images only appear on the home page in the center area then you could just add them to welcome.tpl
|
|||||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||