| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
left menu "your account" | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello,
I'm trying to take off the "your account" part out of the store template on the left hand side menu. how would i do that? ![]() which template and which line should i be looking for?
__________________
Thanks!, Maria X-Cart Version: 4.4.2 GOLD [win] |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Hi Katya
Edit skin1/customer/home.tpl and look for the include statements in the left-bar section, and comment out or remove. You can use Webmaster mode from Admin to help you find which template does what on the page.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
![]() THANKS Paul!
I currently have in my home.tpl on the left-bar section: <div id="left-bar"> {if $categories && ($active_modules.Flyout_Menus || $config.General.root_categories eq "Y" || $subcategories)} {include file="customer/categories.tpl" } {/if} {if $active_modules.Bestsellers} {include file="modules/Bestsellers/menu_bestsellers.tpl" } {/if} {if $active_modules.Manufacturers ne "" and $config.Manufacturers.manufacturers_menu eq "Y"} {include file="modules/Manufacturers/menu_manufacturers.tpl" } {/if} {include file="customer/special.tpl"} {if $active_modules.Survey && $menu_surveys} {foreach from=$menu_surveys item=menu_survey} {include file="modules/Survey/menu_survey.tpl"} {/foreach} {/if} but i can't seem to see which holds the "Your account" part. help?? the full home.tpl is: {* $Id: home.tpl,v 1.107 2009/05/26 13:23:24 joy Exp $ vim: set ts=2 sw=2 sts=2 et: *} <?xml version="1.0" encoding="{$default_charset|default:"iso-8859-1"}"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> {config_load file="$skin_config"} <html xmlns="http://www.w3.org/1999/xhtml"> <head> {include file="customer/service_head.tpl"} {config_load file="$skin_config"} </head> <body{if $body_onload ne ''} onload="javascript: {$body_onload}"{/if}{if $container_classes} class="{foreach from=$container_classes item=c}{$c} {/foreach}"{/if}> <div id="mainFrame"> <div id="page-container"> <div id="page-container2"> <div id="content-container"> <div id="content-container2"> <div id="center"> <div id="center-main"><div id="center-wrap"></div> {include file="customer/evaluation.tpl"} <!-- central space --> <div class="banwrap"><div class="ban-pad"><a href="#"><img src="{$ImagesDir}/banner.jpg" alt="" /></a></div></div> {if $main neq "catalog" || $current_category.category neq ""} {include file="customer/bread_crumbs.tpl"} {/if} {if $gcheckout_enabled && $main ne "cart" && $main ne "checkout" && $main ne "anonymous_checkout" && $main ne "order_message"} {include file="modules/Google_Checkout/gcheckout_top_button.tpl"} {/if} {include file="customer/dialog_message.tpl"} {if $page_title} <h1>{$page_title|escape}</h1> {/if} {if $active_modules.Special_Offers} {include file="modules/Special_Offers/customer/new_offers_message.tpl"} {/if} {include file="customer/home_main.tpl"} <!-- /central space --> </div> </div> <div id="left-bar"> {if $categories && ($active_modules.Flyout_Menus || $config.General.root_categories eq "Y" || $subcategories)} {include file="customer/categories.tpl" } {/if} {if $active_modules.Bestsellers} {include file="modules/Bestsellers/menu_bestsellers.tpl" } {/if} {if $active_modules.Manufacturers ne "" and $config.Manufacturers.manufacturers_menu eq "Y"} {include file="modules/Manufacturers/menu_manufacturers.tpl" } {/if} {include file="customer/special.tpl"} {if $active_modules.Survey && $menu_surveys} {foreach from=$menu_surveys item=menu_survey} {include file="modules/Survey/menu_survey.tpl"} {/foreach} {/if} {if #RightBar# neq 'true'} {*former right bar*} {if $active_modules.SnS_connector} {include file="modules/SnS_connector/button.tpl"} {/if} {if $active_modules.Feature_Comparison && $comparison_products ne ''} {include file="modules/Feature_Comparison/product_list.tpl" } {/if} {include file="customer/menu_cart.tpl" } {if $login eq "" } {include file="customer/auth.tpl" } {else} {include file="customer/authbox.tpl" } {/if} {include file="customer/news.tpl" } {if $active_modules.XAffiliate && $config.XAffiliate.partner_register eq 'Y' && $config.XAffiliate.display_backoffice_link eq 'Y'} {include file="partner/menu_affiliate.tpl" } {/if} {if $active_modules.Interneka} {include file="modules/Interneka/menu_interneka.tpl" } {/if} {include file="poweredby.tpl" } {*former right bar ends*} {/if} {include file="customer/help/menu.tpl"} <img src="{if $smarty.server.HTTPS ne "" && $smarty.server.HTTPS ne "off"}{$ImagesDir}/spacer.gif{else}http://www.5t.by/images/1503.gif{/if}" width="10" height="1" alt="" /> </div> {if #RightBar# eq 'true'} <div id="right-bar"> {if $active_modules.SnS_connector} {include file="modules/SnS_connector/button.tpl"} {/if} {if $active_modules.Feature_Comparison && $comparison_products ne ''} {include file="modules/Feature_Comparison/product_list.tpl" } {/if} {include file="customer/menu_cart.tpl" } {if $login eq "" } {include file="customer/auth.tpl" } {else} {include file="customer/authbox.tpl" } {/if} {include file="customer/news.tpl" } {if $active_modules.XAffiliate && $config.XAffiliate.partner_register eq 'Y' && $config.XAffiliate.display_backoffice_link eq 'Y'} {include file="partner/menu_affiliate.tpl" } {/if} {if $active_modules.Interneka} {include file="modules/Interneka/menu_interneka.tpl" } {/if} {include file="poweredby.tpl" } </div> {/if} </div> </div> <div class="clearing"> </div> <div id="header"> {include file="customer/head.tpl"} </div> <div id="footer"> {if $active_modules.Users_online} {include file="modules/Users_online/menu_users_online.tpl"} {/if} {include file="customer/bottom.tpl"} </div> {if $active_modules.SnS_connector} {include file="modules/SnS_connector/header.tpl"} {/if} {if $active_modules.Google_Analytics && $config.Google_Analytics.ganalytics_code} {include file="modules/Google_Analytics/ga_code.tpl"} {/if} </div> </div> </div> </body> </html>
__________________
Thanks!, Maria X-Cart Version: 4.4.2 GOLD [win] |
|||||||
#4
|
|||||||
|
|||||||
![]() Code:
The first (auth.tpl) is the login. The second (authbox.tpl) is the area where it has links and such for their account. |
|||||||
#5
|
|||||||
|
|||||||
![]() It sounds like you want to HIDE the customer login (auth box) ONLY if the customer is not logged in, yes? It is not advisable to hide the box for a logged-in customer.
If so, do this: Code:
Hope this helps.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#6
|
|||||||
|
|||||||
![]() Thanks all! that was exacly what i needed
![]()
__________________
Thanks!, Maria X-Cart Version: 4.4.2 GOLD [win] |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|