View Single Post
  #1  
Old 11-30-2002, 03:39 PM
 
MMB MMB is offline
 

Member
  
Join Date: Nov 2002
Location: Lincoln Park MI
Posts: 17
 

Default category listing help?

is it possible to have my catagory listing list all catagories except for one of them? I would like to put one catagory link in a different part of the website and not be shown on the catagory list.

the catagory id is 3, how can i wright the loop to not include this catagory? I have the cart enabled to use the first loop.

here is the code from my customer/categories.tpl

Code:
{if $config.General.root_categories eq "Y"} {section name=cat_num loop=$categories} &gt; { $categories[cat_num].category|escape } {/section} {else} {section name=cat_num loop=$subcategories} <font class=CategoriesList>{ $subcategories[cat_num].category|escape }</font> {/section} {/if}

Sorry if this is a very basic question, but i have only been playing with php and smarty for 2 weeks.

Thanks in advance for your reply.
Reply With Quote