Well after surfing for a while I was able to gleen this from the forums. I guess few people call it nested menu categories like I do, random word searching did the trick.
edited skin1/customer/categories.tpl
Quote:
{* $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}
<FONT class="VertMenuItemsTitle">{$categories[cat_num].category}</FONT><br>
{section name=sub_num loop=$allcategories}
{if $allcategories[sub_num].parentid == $categories[cat_num].categoryid}<br>
<A href="home.php?cat={$subcategories[cat_num].categoryid}" class="VertMenuItems">{$allcategories[sub_num].category}
{/if}
{/section}
<HR size="1" class="VertMenuHr">
{/section}
{else} {section name=cat_num loop=$subcategories}
{$subcategories[cat_num].category}
{/section}
{/if}
{/if}
{/capture}
{ include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu }
|
So the only problem is... if I take the main category link off then the bottom subcategory link area extends to the next link area and over top the main category of the next section.
Example:
Main1 -not a link
sub1 - linked
sub2 - linked
sub3 --|
---------| linked area for sub3
Main2--|
sub1 - linked
If I link both main and subcategories I get:
Main1 - linked
sub1 - linked
sub2 - linked
sub3 - linked
{dead space}
Main2- linked
sub1 - linked
Anyone have any ideas?