View Single Post
  #89  
Old 09-13-2006, 07:05 AM
 
instink instink is offline
 

Advanced Member
  
Join Date: Aug 2006
Posts: 44
 

Default Re: Categories Menu - Showing Subcategories

Hi guys, I really, REALLY want to use this mod, to at least get 1 level deep, but my problem is I am using the bluegreentech skin and when I use any of the code from this thread, nothing works properly... the categories aren't linked to, and if I try to fix the href's myself (I am a total noob) I stuff it up completely.

Currently my categories.tpl looks like this

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} <li><FONT class="CategoriesList"><A href="home.php?cat={$categories[cat_num].categoryid}" class="VertMenuItems">{$categories[cat_num].category}</A></li></FONT> {/section} {else} {section name=cat_num loop=$subcategories} <li><FONT class="CategoriesList"><A href="home.php?cat={$subcategories[cat_num].categoryid}" class="VertMenuItems">{$subcategories[cat_num].category}</A></FONT> {/section} {/if} {/if} {/capture} { include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu }

Can someone help me to get it to display at least 1 level deep when a category is selected, exactly as the very first post requested?

Thanks heaps.. even a pointer in the right direction would be cool.. thanks!

Justin
__________________
X-cart 4.0.16
www.jctech.com.au
Reply With Quote