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

Category question

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-28-2004, 10:30 PM
 
parmar parmar is offline
 

eXpert
  
Join Date: Apr 2003
Location: London, UK
Posts: 286
 

Default Category question

I was wondering if there is a way to highlight a single catagory in category menu, perhaps display it in bold text or with a different colour text?
__________________
--------------------
Sandip


x-cart version 5.4.X, hosted on X-Cart server/
Reply With Quote
  #2  
Old 02-29-2004, 01:04 PM
 
rackit rackit is offline
 

Advanced Member
  
Join Date: Jan 2004
Posts: 31
 

Default

In categories.tpl:

replace:
Code:
{section name=cat_num loop=$categories} <font class=CategoriesList>{ $categories[cat_num].category_name|escape }</font> {/section}

with:
Code:
{section name=cat_num loop=$categories} {if $categories.[cat_num].categoryid eq '###'}{ } {else} <font class=CategoriesList>{ $categories[cat_num].category_name|escape }</font> }{/if} {/section}
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:45 PM.

   

 
X-Cart forums © 2001-2020