View Single Post
  #2  
Old 12-30-2003, 04:11 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

customer/main/subcategories.tpl would need to be changed.

The code is:

Code:
{section name=cat_num loop=$subcategories} {assign var="tmp" value="1"} { if %cat_num.first% } <table border="0" cellspacing="0" cellpadding="5" width="100%"> {/if} { if %cat_num.index% is div by 3} <tr> {/if} <td> <a href="home.php?cat={ $subcategories[cat_num].categoryid }"> [img]../icon.php?categoryid={$subcategories[cat_num].categoryid}[/img] { $subcategories[cat_num].category|escape }</a> </td> { if %cat_num.last% } </tr> </table> {/if} {/section}

This is adapted from my own site, so feel free to jazz it up to what you need
__________________
ex x-cart guru
Reply With Quote