Hello all
I have just downloaded the mod for headings and have followed all instructions no problem until I have reached the final step.
It says to go to skin1/customer/categories.tpl and look for this code:
Code:
6. Edit skin1/customer/categories.tpl
a. Find this code:
<font class="CategoriesList"><a href="home.php?cat={$c.categoryid}" class="VertMenuItems">
Add this before the code you just found:
{* BCSE - category headings *}
{if $c.category_heading ne ""}{$c.category_heading}<BR>{/if}
{* BCSE - end category headings *}
b. Find this code:
<font class="CategoriesList"><a href="home.php?cat={$catid}" class="VertMenuItems">
Add this before the code you just found:
{* BCSE - category headings *}
{if $c.category_heading ne ""}{$c.category_heading}<BR>{/if}
{* BCSE - end category headings *}
BUT I am not seeing it like that on my version of 4.1.11. This is the total code, can anyone please help?
Code:
{* $Id: categories.tpl,v 1.26.2.4 2008/07/22 07:58:28 ferz Exp $ *}
{capture name=menu}
<table cellpadding="0" cellspacing="0" {if $main eq "catalog" and $current_category.category eq ""}class="CategoriesCustomBox"{else}width="100%"{/if}>
<tr>
<td valign="top">
{if $active_modules.Fancy_Categories ne ""}
<table cellpadding="0" cellspacing="0" {if $main eq "catalog" and $current_category.category eq ""}class="CategoriesCustomBoxFC"{else}width="150"{/if}>
<tr>
<td valign="top">
{include file="modules/Fancy_Categories/categories.tpl"}
{assign var="fc_cellpadding" value="0"}
</td>
</tr>
</table>
{else}
{if $config.General.root_categories eq "Y"}
{foreach from=$categories item=c}
{if $main eq "catalog" and $current_category.category eq ""}
{capture name=bullet}<a href="home.php?cat={$c.categoryid}" class="VertMenuCatWelcItems">{$c.category}</a>{/capture}{include file="customer/main/bullet.tpl" content=$smarty.capture.bullet welc=true}
{else}
{capture name=bullet}<a href="home.php?cat={$c.categoryid}" class="VertMenuCatItems">{$c.category}</a>{/capture}{include file="customer/main/bullet.tpl" content=$smarty.capture.bullet catmenu=true}
{/if}
{/foreach}
{else}
{foreach from=$subcategories item=c}
<a href="home.php?cat={$c.categoryid}" class="VertMenuCatItems">{$c.category}</a><br />
{/foreach}
{/if}
{/if}
</td>
</tr>
<tr>
<td valign="bottom">
<table width="100%" cellpadding="14" cellspacing="0" align="center">
<tr>
<td>
{if $js_enabled}
<a href="{$js_update_link|amp}" class="SmallNote">{$lng.txt_javascript_disabled}</a>
{else}
<a href="{$js_update_link|amp}" class="SmallNote">{$lng.txt_javascript_enabled}</a>
{/if}
</td>
</tr>
</table>
</td>
</tr>
</table>
{/capture}
{ include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding style="Categories"}
Thank in advance
