View Single Post
  #5  
Old 02-28-2005, 05:57 PM
 
gbut gbut is offline
 

Newbie
  
Join Date: Feb 2005
Posts: 3
 

Default

I've got it worked out. Here's the code:

Code:
{section name=cat_num loop=$categories} <FONT class="CategoriesList">{$categories[cat_num].category}</FONT> {if $current_category.categoryid == $categories[cat_num].categoryid} {section name=subcat_num loop=$subcategories} <FONT class="CategoriesList"><span class="small">&gt; </span>{$subcategories[subcat_num].category}</FONT> {/section} {elseif $current_category.parentid == $categories[cat_num].categoryid} {section name=subcat_num loop=$allcategories} {if $allcategories[subcat_num].parentid eq $location[1].1|replace:"home.php?cat=":""} <FONT class="CategoriesList"><span class="small">&gt; </span>{ $allcategories[subcat_num].category|escape }</font> {/if} {/section} {/if} {/section}
__________________
------------------
~Gregg

X-Cart 4.0.12
Apache 1.3.33
mySQL 4.0.22
PHP 4.3.10
Reply With Quote