Thread: Newest Products
View Single Post
  #100  
Old 09-24-2005, 07:37 PM
 
fuzzy fuzzy is offline
 

Advanced Member
  
Join Date: Jun 2004
Location: oHIo
Posts: 77
 

Default

Quote:
Originally Posted by yages
Great mod works great

Have a problem
I have put the link in the cartegories tpl

{section name=cat_num loop=$categories}
{if $categories[cat_num].order_by eq 20 ||
$categories[cat_num].order_by eq 100}

<div class="VertMenuItems1">New Products</div>
<hr>

I have the categories separated with a <hr>
the link shows in both areas of the category

Any suggestions how to only show the link in the top part of the categories

Not sure if this helps, but I put mine like so:
Code:
{capture name=menu} {if $active_modules.Fancy_Categories ne ""} {include file="`$fancycategories_config.modules_path`/fancy_categories.tpl"} {else} {if $main eq "newproducts"}New Additions<HR size="1" noshade class="CateMenuHr"> {else} New Additions<HR size="1" noshade class="CateMenuHr"> {/if} {if $config.General.root_categories eq "Y"} {section name=cat_num loop=$categories}
__________________
X-Cart 4.0.12 Gold
Linux
Reply With Quote