Replacing catagory text with images?
the suggestion I was given was to add 1 line in customer/categories.tpl
<tr><td colspan="2" class="TableLeftElements" nowrap>
{if #RootCategories# eq "Y"}
{section name=cat_num loop=$categories}
Add this line>>>[img]../icon.php? categoryid={$categories[cat_num].categoryid}[/img]
<font class=CategoriesList><a href="home.php?cat={ $categories[cat_num].category
id }">{ $categories[cat_num].category|escape }</a></font>
{/section}
{else} {section name=cat_num loop=$subcategories}
------------------------------------------------------------------------
would this work?
where do I go from here? where do I add the images?
|