Hi tamicampos,
If you want similar functionality to categories.tpl and for them to be displayed horizontally somewhere other than the side columns, for instance, in the main body.
Make a duplicate of categories.tpl and name the duplicate something like categories_horz.tpl
Then inside the categories_horz.tpl replace everything with this...
Code:
{capture name=menu}
{if $config.General.root_categories eq "Y"}
{foreach from=$categories item=c}
<span class="CategoriesList"><a href="home.php?cat={$c.categoryid}" class="VertMenuItems">{$c.category}</a></span>
{/foreach}
{else} {foreach from=$subcategories item=c key=catid}
<span class="CategoriesList"><a href="home.php?cat={$catid}" class="VertMenuItems">{$c.category}</a></span>
{/foreach}
{/if}
{/capture}
{ include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding}
and to reference it; plonk the following in a suitable place... (provided that the duplicate was in the same folder as categories.tpl)
Code:
{include file="customer/categories_horz.tpl"}
Hope this helps.