| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Mod for having Tab Categories? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Mod for having Tab Categories?
Does anyone have a mod or know how to mod x-cart so you can have the categories as tabs on the top (head) as well as having it on the left menu?
|
|||||||
#2
|
|||||||
|
|||||||
If you're categories don't change very often then you can hard code them into the head.tpl (or create a new tpl beneath that) as straight links.
|
|||||||
#3
|
|||||||
|
|||||||
The way that I have done this, is by putting the categories into a table and have it repeat the <td> contents for each category. Apply a style to the <td> so that it shows a background image of the tab and a conditional so that it the $cat variable eq that one it has a different style (and thus a different background image)
pm me if you want to see this in action
__________________
ex x-cart guru |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|