| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
different header swf in different product categories | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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? |
|||||||
#2
|
|||||||||
|
|||||||||
do something like this ...
name your images 1.gif, 2.gif etc then in the header use Code:
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
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#3
|
|||||||
|
|||||||
Yeah! that worked!
I just replaced the img src tags to point to my swf's and it worked fine. Thanks Shan |
|||||||
#4
|
|||||||||
|
|||||||||
Nice mod, move to Custom Mods?
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|