![]() |
different header swf in different product categories
i'm trying to place different header images or swf files in the head.tpl template file... but this file uses only one for the whole catalog.
Anyone know how I could make it so that each category dispalys a different image or swf? :? |
do something like this ...
name your images 1.gif, 2.gif etc then in the header use Code:
{if $cat} what were doing here is having a different image for each category and naming it after the category id number. all images are stored in skin1/images folder. we also have an image called say normal_image.gif for all the times that your not viewing a category that should give you some idea and you could expand on it from there |
Yeah! that worked!
I just replaced the img src tags to point to my swf's and it worked fine. Thanks Shan :D |
Nice mod, move to Custom Mods?
|
All times are GMT -8. The time now is 01:02 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.