View Single Post
  #8  
Old 08-12-2006, 05:38 AM
 
soyuz02 soyuz02 is offline
 

Advanced Member
  
Join Date: Jun 2006
Posts: 71
 

Default

Seriously, it doesnt work, it keeps on doing the same thing although i didnt touch the other menus. I think 10 mins ago you got confused cause I had a second category called Sell Books which I deleted afterwards, thats maybe why you saw it displaying.

Heres my categories.tpl

Code:
{* $Id: categories.tpl,v 1.26 2005/11/17 06:55:37 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} {if $config.General.root_categories eq "Y"} <div class="categories"> {foreach from=$categories item=c} &raquo;{$c.category} {/foreach} </div> {else} <div class="categories"> {foreach from=$subcategories item=c key=catid} &raquo;{$c.category} {/foreach} </div> {/if} {/if} {/capture} { include file="menu_cat.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding}

Heres my customer/home.tpl

Code:
{* $Id: home.tpl,v 1.88.2.2 2006/06/30 10:09:49 max Exp $ *} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> {if $printable ne ''} {include file="customer/home_printable.tpl"} {else} {config_load file="$skin_config"} <html> <head> <title> {if $config.SEO.page_title_format eq "A"} {section name=position loop=$location} {$location[position].0|strip_tags|escape} {if not %position.last%} :: {/if} {/section} {else} {section name=position loop=$location step=-1} {$location[position].0|strip_tags|escape} {if not %position.last%} :: {/if} {/section} {/if} </title> {include file="meta.tpl" } <link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}" /> </head> <body{$reading_direction_tag}{if $body_onload ne ''} onload="javascript: {$body_onload}"{/if}> {include file="rectangle_top.tpl" } {include file="head.tpl" } {if $active_modules.SnS_connector} {include file="modules/SnS_connector/header.tpl"} {/if} <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td class="VertMenuLeftColumn"> {if $categories ne "" and ($active_modules.Fancy_Categories ne "" or $config.General.root_categories eq "Y" or $subcategories ne "")} {include file="customer/categories.tpl" } {/if} {include file="sell_menu.tpl" } {if $active_modules.SnS_connector && $config.SnS_connector.sns_display_button eq 'Y' && $sns_collector_path_url ne ''} {include file="modules/SnS_connector/button.tpl"} {/if} {if $active_modules.Feature_Comparison ne "" && $comparison_products ne ''} {include file="modules/Feature_Comparison/product_list.tpl" } {/if} {include file="customer/menu_cart.tpl" } {if $login eq "" } {include file="auth.tpl" } {else} {include file="authbox.tpl" } {/if} {include file="customer/special.tpl"} {if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu eq "Y"} {include file="modules/Bestsellers/menu_bestsellers.tpl" } {/if} {include file="news.tpl" } {if $active_modules.XAffiliate ne ""} {include file="partner/menu_affiliate.tpl" } {/if} {if $active_modules.Interneka ne ""} {include file="modules/Interneka/menu_interneka.tpl" } {/if} {if $active_modules.Manufacturers ne "" and $config.Manufacturers.manufacturers_menu eq "Y"} {include file="modules/Manufacturers/menu_manufacturers.tpl" } {/if} {include file="help.tpl" } {if $active_modules.Surveys && $menu_surveys} {foreach from=$menu_surveys item=menu_survey} {include file="modules/Surveys/menu_survey.tpl"} {/foreach} {/if} [img]{$ImagesDir}/spacer.gif[/img] </td> <td class="mainLeft">[img]{$ImagesDir}/left_col_angle.gif[/img]</td> <td width="100%" valign="top" class="main"> {include file="dialog_message.tpl"} {if $active_modules.Special_Offers ne ""} {include file="modules/Special_Offers/customer/new_offers_message.tpl"} {/if} {include file="customer/home_main.tpl"} </td> <td class="main">[img]{$ImagesDir}/spacer.gif[/img]</td> </tr> </table> {include file="rectangle_bottom.tpl" } </body> </html> {/if}

Heres my sell_menu.tpl

Only thing ive changed is to localise label

Code:
{* $Id: pages_menu.tpl,v 1.5 2005/11/17 06:55:36 max Exp $ *} <div class="categories"> {section name=pg loop=$pages_menu} &raquo;{$pages_menu[pg].title} {/section} </div> { include file="menu_cat.tpl" menu_title=$lng.lbl.sell_menu menu_content=$smarty.capture.menu }
[/code]
__________________
X-Cart Version :: 4.1.6 (Finally)
X-Cart Mods :: Kids Skin by 7dana
Running on :: SUSE Linux 9.3 with Plesk 7.5.4
Webserv :: Apache 2.0.53
mySQL :: 4.1.10
PHP :: 4.3.10
Reply With Quote