News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Showing module depending on Category

Started by kratzi, July 11, 2012, 22:54:41 PM

Previous topic - Next topic

kratzi

Hi,

I have a Nivo Slider - Module in my shop. However I would like to load a different slider depending on the top category which is active.
What I mean is f.e. I have 3 top categories.

-Car
  -...
  -...
-Bike
-Boat

As the "car" category is active I would like to load a slider which just contains pictures of cars.

Is there any (preferably) PHP solution for that??

I've found this page however I am a total PHP noob so even not able to adjust this code.

Thank you in advance


Simon


kratzi

#2
Thanks its working.

Perfect!!!

However is there a way that all subcategories show the module which was defined for the topcategory??

Thank you

PRO

Quote from: kratzi on July 11, 2012, 23:59:00 PM
Thanks its working.

Perfect!!!

However is there a way that all subcategories show the module which was defined for the topcategory??

Thank you

no, not with my code,

but metamod can do this

kratzi