View Single Post
  #1  
Old 03-25-2010, 04:19 PM
 
Tami Indra Tami Indra is offline
 

Member
  
Join Date: Aug 2008
Posts: 16
 

Exclamation Yikes... categories disappeared

Lesson of the day: don't modify xcart templates on 3 hours of sleep.

Sigh. It was so lovely. I was all finished, went to clean up some commented bits and must have pulled out something crucial along with it. Save. Close.

Could someone please take a look at my code and see what I could have possibly done that would cause my categories menu (in the sidebar) to suddenly disappear? The header image isn't even showing up.

Code:
{* $Id: categories.tpl,v 1.26 2005/11/17 06:55:37 max Exp $ *} <img src="{$ImagesDir}/title_categories.png" alt="Categories" /> {capture name=menu} {if $config.General.root_categories eq "Y"} {foreach from=$categories item=c} <p><a href="home.php?cat={$c.categoryid}">{$c.category}</a></p> <ul> {foreach from=$allcategories item=cat} {if $cat.parentid eq $c.categoryid} <li><a href="home.php?cat={$cat.categoryid}" class="VertMenuItems">{$cat.category}</a></li> {/if} {/foreach} </ul> {/foreach} {/capture} { include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding}

My last backup was way too long ago, and would prefer not to revert unless I absolutely have to.
__________________
Version 4.1.9
Add-on: X-SpecialOffers
Add-on: X-AOM (Advanced Order Management)
Reply With Quote