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)
-   -   BCSE - Free Mod Category heading help v4.1.8 (https://forum.x-cart.com/showthread.php?t=34089)

a1deano 09-21-2007 04:27 AM

BCSE - Free Mod Category heading help v4.1.8
 
Hi all

Has anyone manage to implement bcse free category heading mod for v4.1.8
Ive done all the coding and double checked and all seems correct, in the backend of my shop
i have a catergory heading box, i entered "shop by product" but it hasn't showed up on the shop.

I seem to have the problem nailed down to -
Quote:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTE: If you want headings for your menu categories follow this step
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6. Edit skin1/customer/categories.tpl

the instructions say -
Quote:

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 $categories[cat_num].category_heading ne ""}{$categories[cat_num].category_heading}<BR>{/if}
{* BCSE - end category headings *}

and also -
Quote:

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 $subcategories[cat_num].category_heading ne ""}{$subcategories[cat_num].category_heading}<BR>{/if}
{* BCSE - end category headings *}


The code however is slightly different -
Quote:

A. looks like this - <a href="home.php?cat={$c.categoryid}" class="VertMenuItems"><font class="CategoriesList">
B. looks like this - <a href="home.php?cat={$catid}" class="VertMenuItems"><font class="CategoriesList">
Ive tried adding the code in various places, first tried adding before
Quote:

<a href="home.php?c
but nothing happended so then tried adding the code before
Quote:

<font class="CategoriesList

So what i tried next i copied the code from my live shop v4.0.19 were i have this mod installed and pasted into skin1/customer/categories.tpl
Hey presto it worked then, although the catagory list looked slightly different and i didn't want to mess around to much with the orginal coding so i "restored file"

so i know i am nearly there with it can anyone help with this, ive added a reply message to bcse support but as yet ive not heard back, but i do know carrie is really busy and i don't won't to be a nuisance to them, unfortunatly they don't have a payment method for this mod as i was happy to pay for them to sort the problem out.

Here is the full orginal code for skin1/customer/categories.tpl - v4.1.8
Quote:

{* $Id: categories.tpl,v 1.1.2.25 2007/06/19 08:01:50 max Exp $ *}
{capture name=menu}
{if $active_modules.Fancy_Categories ne ""}
{include file="modules/Fancy_Categories/categories.tpl"}
{assign var="fc_cellpadding" value="0"}
{else}
<table cellpadding="4" cellspacing="1">
{if $config.General.root_categories eq "Y"}
{foreach from=$categories item=c}
<tr>
<td valign="top"><img src="{$ImagesDir}/category_bullet.gif" width="6" height="13" alt="" /></td>
<td><a href="home.php?cat={$c.categoryid}" class="VertMenuItems"><font class="CategoriesList">{$c.category}</font></a></td>
</tr>
{/foreach}
{else} {foreach from=$subcategories item=c key=catid}
<tr>
<td valign="top"><img src="{$ImagesDir}/category_bullet.gif" width="10" height="13" alt="" /></td>
<td><a href="home.php?cat={$catid}" class="VertMenuItems"><font class="CategoriesList">{$c.category}</font></a></td>
</tr>
{/foreach}
{/if}
</table>
{/if}
{/capture}
{ include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding}

I would be really greatful if someone could help with this.

Regards Dean

balinor 09-21-2007 04:29 AM

Re: BCSE - Free Mod Category heading help v4.1.8
 
Moving to Third Party Add-Ons.

rkdiddy 03-01-2008 08:07 PM

Re: BCSE - Free Mod Category heading help v4.1.8
 
Did you ever figure this out?

I'm stumped, I've gone through all the instructions and Category Heading now shows up above the Category in the Admin section.

However the Category Heading isn't showing up on my shop.

<scratching head>

BCSE 03-09-2008 07:34 PM

Re: BCSE - Free Mod Category heading help v4.1.8
 
Feel free to drop us an email with your domain (email support@) and email us the files you changed and we can check the install. We are very backed up with sales and support questions right now so we will get to you as soon as we can (hopefully within a day, maybe 2).

Thank you!

Carrie

BCSE 03-19-2008 05:29 AM

Re: BCSE - Free Mod Category heading help v4.1.8
 
I'm wondering if you have an old zip or are not looking at the 4.1.x instructions. Drop us an email with your order # and we will issue you a new download link.

Thank you!

Carrie

Dongan 03-19-2008 05:46 AM

Re: BCSE - Free Mod Category heading help v4.1.8
 
Hi Carrie,

Just for your info, we need to update the instructions.

The original code is
{if $categories[cat_num].category_heading ne ""}{$categories[cat_num].category_heading}<BR>{/if}

The correct code is
{if $c.category_heading ne ""}{$c.category_heading}<BR>{/if}


All times are GMT -8. The time now is 05:22 PM.

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