Jump to content

Show module in specific category


Recommended Posts

Hi!

I need to show one module just in one category.

After creating it, assigning to Position6 and adding an exception for other pages, I've tried to insert this in category.tpl

{if $category->id == 10} {$displayPosition6} {/if}

but doesn't work.

Any suggestion?
Thanks

Share this post


Link to post
Share on other sites
4 minutes ago, aezakmi said:

No one? 

Hi,

If  displayPosition6    is  the  name  of  the  hook  it  should   be  :

{if $category->id==10}  {hook h='displayPosition6'} {/if}

 

  • Like 1

Share this post


Link to post
Share on other sites

Hello, aezakmi

This can be possible to easily display by crazy elements.  Just view this how you can insert particular module and from content anywhere you can filter where you want to show or hide

 

Thank you

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More