Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

BCSE - Free Mod Category heading help v4.1.8

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 09-21-2007, 04:27 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default 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
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #2  
Old 09-21-2007, 04:29 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: BCSE - Free Mod Category heading help v4.1.8

Moving to Third Party Add-Ons.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 03-01-2008, 08:07 PM
  rkdiddy's Avatar 
rkdiddy rkdiddy is offline
 

Advanced Member
  
Join Date: Mar 2005
Posts: 60
 

Default 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>
__________________
Stealth Cords - Discrete Power Cords for Automotive Enthusiasts
www.stealthcords.com
X-Cart version: 4.1.9
Reply With Quote
  #4  
Old 03-09-2008, 07:34 PM
  BCSE's Avatar 
BCSE BCSE is online now
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,085
 

Default 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
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #5  
Old 03-19-2008, 05:29 AM
  BCSE's Avatar 
BCSE BCSE is online now
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,085
 

Default 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
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #6  
Old 03-19-2008, 05:46 AM
  Dongan's Avatar 
Dongan Dongan is offline
 

X-Wizard
  
Join Date: Jul 2005
Location: www.mercuryminds.com
Posts: 1,531
 

Default 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}
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:18 PM.

   

 
X-Cart forums © 2001-2020