| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
How to Not Load Module on Home Page only? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
How to Not Load Module on Home Page only?
Is there a way of not loading a module on the home page but loading on all of the other pages?
I know you can use the following to only load in the homepage but I can't work out the logic. {if $main eq "catalog" and $current_category.category eq ""} Call module here {/if} Thanks
__________________
X-Cart 4.7.12 (Live) Redux Template CDSEO |
|||||||
#2
|
|||||||||
|
|||||||||
Re: How to Not Load Module on Home Page only?
Quote:
What about: Code:
?
__________________
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. |
|||||||||
|
#3
|
|||||||
|
|||||||
Re: How to Not Load Module on Home Page only?
That worked - never thought of the else bit - dohh
Thanks Mike
__________________
X-Cart 4.7.12 (Live) Redux Template CDSEO |
|||||||
|
|||
X-Cart forums © 2001-2020
|