View Single Post
  #15  
Old 05-21-2005, 02:40 AM
 
IndieDepot IndieDepot is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 30
 

Default

Carrie,

I get the same "Blank Box" that 01bodyjewellery clamined to have gotten.

I backed up my original and copy/pasted your code above exactly as you instructed us to. After refresh, categories box comes back blank. Here is my entire modified categories.tpl file that i modified according to your instructions above:


Code:
{* $Id: categories.tpl,v 1.23 2004/06/24 09:53:29 max Exp $ *} {capture name=menu} {if $active_modules.Fancy_Categories ne ""} {include file="`$fancycategories_config.modules_path`/fancy_categories.tpl"} {else} {if $config.General.root_categories eq "Y"} {section name=cat_num loop=$categories} {if $categories[cat_num].order_by eq 50 || $categories[cat_num].order_by eq 100 || $categories[cat_num].order_by eq 150} {* NOTE: CHANGE THIS TO BE WHAT EVER YOU WANT TO DIVIDE THE CATEGORIES *} {/if} <font class=CategoriesList>{ $categories[cat_num].category_name|escape }</font> {/section} {else} {section name=cat_num loop=$subcategories} <FONT class="CategoriesList">{$subcategories[cat_num].category}</FONT> {/section} {/if} {/if} {/capture} { include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu }

Using the above code, i get a blank categories box.

Now I will say this....
You told us to "Look for a section of code in skin1/customer/categories.tpl that looks like this: " and i find that my code is not exactly the same as the code you told us to look for. It is identical except for the a href link code.

The code you told us to look for:
Code:
<font class=CategoriesList>{ $categories[cat_num].category_name|escape }</font>

The code of my original file:
Code:
<FONT class="CategoriesList">{$categories[cat_num].category}</FONT>

Notice Carrie the difference towards the end of my code and how it's missing a few things. Welp, that's the way it came from the factory. Maybe 4.0.13 has a totally different categories.tpl file that will not work with your cool mod.

Hopefully you can check it out for us. *smile*

I am going back to FunkyCategories for the time being.

- Shannon
__________________
- www.TheShotList.com
X-Cart version 4.0.13
PHP 4.3.10
MySQL 4.0.23
Web server Apache
Operation system Linux
Perl 5.008004
XML parser (expat) 1.95.6
Reply With Quote