X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Display if current category ne to cat 6 (https://forum.x-cart.com/showthread.php?t=17060)

Mr Bob 10-03-2005 07:21 PM

Display if current category ne to cat 6
 
I want the category (home.php?cat=6) to not display a certain include file.

I tried this, but it doesn't work:

{if $main eq "catalog" and $current_category.category gt "1" and $current_category.category ne "6"}
{include file="customer/main/left_subcategories.tpl"}
{/if}

This is the full statement located in home.tpl.

balinor 10-04-2005 03:43 AM

http://forum.x-cart.com/viewtopic.php?t=12234

Mr Bob 10-04-2005 06:54 AM

Thanks, btw, what did you search for to find that?

I spent like 10 minutes searching before I posted. :?


All times are GMT -8. The time now is 09:28 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.