View Single Post
  #3  
Old 08-15-2005, 03:50 AM
 
vivienne vivienne is offline
 

Senior Member
  
Join Date: May 2004
Location: Brisbane, Australia
Posts: 121
 

Default any help would be great

I tried putting this into my home.tpl
{* {include file="customer/treatmentTypes.tpl"} *}

then setting all the subcats I want to be greater than 500 then putting this into the treatmentTypes.tpl

{* $Id: treatmentTypes.tpl,v 1.23 2004/06/24 09:53:29 max Exp $ *}
{capture name=menu}
{section name=cat_num loop=$subcategories}
{if $categories[cat_num].categoryid >= 500}
<FONT class="CategoriesList">{$subcategories[cat_num].category}</FONT>

{/if}{/section}

but it doesn't work. I have bought myself a php book though

Viv
__________________
X-Cart 4.18
www.naturalvetcompany.com
www.wkyp.com.au
Reply With Quote