View Single Post
  #6  
Old 06-01-2006, 07:28 AM
 
taltos1 taltos1 is offline
 

Senior Member
  
Join Date: Mar 2005
Location: USA
Posts: 160
 

Default

Great small mod. To get this working on 4.0.18

Code:
{section name=cat_num loop=$categories} <FONT class="CategoriesList">{$categories[cat_num].category}</FONT> {/section} {else} {section name=cat_num loop=$subcategories} <FONT class="CategoriesList">{$subcategories[cat_num].category}</FONT> {/section}

With
Code:
{section name=cat_num loop=$categories} {if $smarty.get.cat eq $categories[cat_num].categoryid} {$categories[cat_num].category} {else} {$categories[cat_num].category} {/if} {/section}

NOTE: I added in the two
tags so that each new category would be on a new line, remove them and them will all be inline!
Thanks again!
__________________
X-Cart Gold Version 4.0.18
EWDHosting.com is my Host
Unix Servers
Reply With Quote