Jump to content

How to display a hook position for each category


prunica

Recommended Posts

Hi,

I 'm a having a problem with displaying a hook (in this hook will be a category module).

For example:

 

{if $page_name == 'category' AND $smarty.get.id_category == 5}
<div id="left_column" class="column">{$HOOK_LEFT_COLUMN}</div>
{/if}

 

With this code this hook appears on the category with id 5 ,but when i acces a product from that category it goes to product page and the hook dissapear.

 

I know that it's possible to add in that if if$page_name =="product" and the id related to one product,but i have many products in that category and ii want to make the hook to be displayed in all the products page from that cateogry ,and even in subcategories from that category.

 

 

I want to make this thing perhaps i have three different categories , and each other must have different modules on the left column

.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...