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

Tabbed Menu to Display Lists of Categories / Manufacturers

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-04-2009, 10:01 AM
 
mustang mustang is offline
 

eXpert
  
Join Date: Nov 2003
Location: US
Posts: 210
 

Default Tabbed Menu to Display Lists of Categories / Manufacturers

I'm looking for a way to create a tabbed list that displays both Categories and Manufacturers.

For a perfect example, see the "Categories/Brands" tab on the left of this page:
http://tinylix.com/zngac8

How can this be done on 4.2?
__________________
X-Cart Gold 4.2.3
-----
PHP 5.2.17 | MySQL 5.1.52
Reply With Quote
  #2  
Old 11-06-2009, 05:06 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Tabbed Menu to Display Lists of Categories / Manufacturers

It should be a matter of making "buttons" that if "categories" is clicked the categories menu is displayed, and if "brands" is clicked the manufacturers menu is displayed.

if "brands" {include manufacturers.tpl} /if
"cats" {include categories.tpl}
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #3  
Old 11-10-2009, 08:38 AM
 
mustang mustang is offline
 

eXpert
  
Join Date: Nov 2003
Location: US
Posts: 210
 

Default Re: Tabbed Menu to Display Lists of Categories / Manufacturers

Quote:
Originally Posted by JWait
It should be a matter of making "buttons" that if "categories" is clicked the categories menu is displayed, and if "brands" is clicked the manufacturers menu is displayed.

if "brands" {include manufacturers.tpl} /if
"cats" {include categories.tpl}

Hi JWait,

I was going with that same logic. I'm just stumped on how to implement it.
__________________
X-Cart Gold 4.2.3
-----
PHP 5.2.17 | MySQL 5.1.52
Reply With Quote
  #4  
Old 11-10-2009, 09:18 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Tabbed Menu to Display Lists of Categories / Manufacturers

Just make a .tpl that has the options you need, "brands" and "cats" that has "buttons" for each. You can call it brands-cats.tpl. Make the "brands" button call the skin1/modules/Manufacturers/menu_manufacturers.tpl, and the "cats" button call the skin1/customer/categories.tpl and put brands-cats.tpl in your menu.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 11:48 AM.

   

 
X-Cart forums © 2001-2020