View Single Post
  #29  
Old 02-11-2006, 11:59 AM
 
jmccunep jmccunep is offline
 

Advanced Member
  
Join Date: Nov 2003
Posts: 68
 

Default Categories headings

Quote:
Originally Posted by AgileMolecule

Remember to set your initial category numbers in the admin side according to what is in original Carrie's code- I just tweaked it a tad more here as an example.

Code:
{* $Id: categories.tpl,v 1.23 2004/06/24 09:53:29 max Exp $ *} {capture name=menu} {if $active_modules.Fancy_Categories ne ""} {include file="`$fancycategories_config.modules_path`/fancy_categories.tpl"} {else} {if $config.General.root_categories eq "Y"} {section name=cat_num loop=$categories} {if $categories[cat_num].order_by eq 5} COOL STUFF AAA {/if} {if $categories[cat_num].order_by eq 50} COOL STUFF BBB {/if} {if $categories[cat_num].order_by eq 100} COOL STUFF CCC {/if} {if $categories[cat_num].order_by eq 150} COOL STUFF DDD {/if} <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} {/if} {/if} {/capture} { include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu }

When you say to set the initial category numbers on admin side you must mean the to do so by setting the category position numbers?

Thanks for the help!

X-Cart v 4.0.17
Reply With Quote