View Single Post
  #5  
Old 05-22-2006, 11:50 AM
 
Grant Grant is offline
 

Senior Member
  
Join Date: Apr 2006
Posts: 171
 

Default

Oh god am I just being a donut?

I can't get this working..

I've tried putting them in all sorts of places but nothing seems to work.
I've put them at the very start and end of the code, at varying different points around text items etc

I'm lost

Could you show me where to insert them on the .tpl below please?

Quote:
[img]{$ImagesDir}/catheading.jpg[/img]
{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 $cat eq $categories[cat_num].categoryid || $current_category.parentid eq $categories[cat_num].categoryid}
{$categories[cat_num].category}

{else}
{$categories[cat_num].category}<HR size="1" noshade class="CateMenuHr">
{/if}
{if $cat eq $categories[cat_num].categoryid || $current_category.parentid eq $categories[cat_num].categoryid}
{section name=subcat loop=$allcategories}
{if $allcategories[subcat].parentid eq $categories[cat_num].categoryid}{if $cat eq $allcategories[subcat].categoryid}{/if}{$allcategories[subcat].category}{if $cat eq $allcategories[subcat].categoryid}{/if}

{/if}
{/section}
<HR size="1" noshade class="CateMenuHr">
{/if}
{/section}
{else}
{section name=cat_num loop=$subcategories}
<FONT class="CategoriesList">{$subcategories[cat_num].category}</FONT>

{/section}
{/if}
{/if}
__________________
X-Cart version : 4.0.18
Mod : Customer Also Bought
Mod : Custom catergory Templates
Mod : Custon Product Templates
Reply With Quote