View Single Post
  #1  
Old 08-11-2010, 08:54 AM
 
golfland golfland is offline
 

Member
  
Join Date: Mar 2007
Posts: 26
 

Default Customizing right side column

We are creating a lot of resources that are specific to certain categories. I have created a tpl containing links to these resources for several categories but I am not sure how to make the correct file show on the correct category.

For example, if I have a category called dogs, I want to show all our dog resource links on the right side. Same with birds, fish, etc. each will have its own resource link section that I only want to show when you are on the relevant category.

Code I have tried and diod not work:

<!-- right bar -->
{if $main neq "catalog" || $current_category.category eq "11"}
{include file="customer/main/dogs.tpl"}
{/if}
------

{if $main neq "catalog" && $current_category.category eq "11"}
{include file="customer/main/dogs.tpl"}
{/if}
------

{if $current_category.category eq "11"}
{include file="customer/main/dogs.tpl"}
{/if}
-----

{if $current_category eq "11"}
{include file="customer/main/dogs.tpl"}
{/if}
------
none of these seemed to do the trick. Anyone got any ideas on how to have a file show only for a select category?

Thanks!
__________________
live: 4.3.2 w/below Mods
On Sale
MAP Mod
Power Filter
Mega Menu
ezupsell
youtube

Dev: 4.4.1
Reply With Quote