X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   BCSW - category heading (https://forum.x-cart.com/showthread.php?t=42901)

karentown 10-10-2008 06:04 AM

BCSE - category heading
 
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 :)

karentown 10-13-2008 07:09 AM

Re: BCSW - category heading
 
Bump - anyone?

I have opened a support ticket but Carrie is busy and it has been scheduled for mid week. I know this is a free mod but it is really holding me up now :(

I am using the fashion skin (modified) hence the different category template but if anyone could give me a shove in the right direction I would be ever so grateful :)

karentown 10-13-2008 07:14 AM

Re: BCSW - category heading
 
YAAAY!!! Done it :) Happy dance :)

karentown 10-13-2008 07:18 AM

Re: BCSW - category heading
 
GRRRR ... why is that stray heading at the bottom, does anyone know?

http://208.84.153.121/onlineshop/home.php

BCSE 10-13-2008 05:02 PM

Re: BCSW - category heading
 
I'm not getting forum notifications and it's a bit annoying. Not sure why our servers aren't even getting the email(we've looked through the mail logs). Is there something wrong with the forum emails?

Anyhoo, I believe Gary is taking care of you. We're a bit backed up though because he's the first line of support and was out all last week due to family issues. :( Putting all of his work on me as well as my own. But we're catching up I think.

Thanks!

Carrie

karentown 10-14-2008 12:41 AM

Re: BCSW - category heading
 
Thanks Carrie, yes Gary is on it. I appreciate it very much indeed!


All times are GMT -8. The time now is 12:13 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.