Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Mod for having Tab Categories?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 06-05-2003, 01:03 AM
 
manolodf manolodf is offline
 

Advanced Member
  
Join Date: Jun 2003
Posts: 50
 

Default 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?
Reply With Quote
  #2  
Old 06-05-2003, 01:48 AM
 
magnumkp magnumkp is offline
 

eXpert
  
Join Date: Apr 2003
Location: England
Posts: 304
 

Default

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.
Reply With Quote
  #3  
Old 06-17-2003, 12:49 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:46 AM.

   

 
X-Cart forums © 2001-2020