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

left menu "your account"

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-12-2010, 08:45 AM
 
krtwn krtwn is offline
 

Advanced Member
  
Join Date: Feb 2010
Posts: 32
 

Question left menu "your account"

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]
Reply With Quote
  #2  
Old 03-12-2010, 08:47 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: left menu "your account"

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.
Reply With Quote
  #3  
Old 03-12-2010, 09:05 AM
 
krtwn krtwn is offline
 

Advanced Member
  
Join Date: Feb 2010
Posts: 32
 

Default Re: left menu "your account"

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">&nbsp;</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]
Reply With Quote
  #4  
Old 03-12-2010, 09:50 AM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: left menu "your account"

Code:
{if $login eq "" } {include file="customer/auth.tpl" } {else} {include file="customer/authbox.tpl" } {/if}

The first (auth.tpl) is the login.
The second (authbox.tpl) is the area where it has links and such for their account.
__________________
- Shane Munroe
Reply With Quote
  #5  
Old 03-12-2010, 10:53 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: left menu "your account"

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:
{if $login ne "" } {include file="customer/authbox.tpl" } {/if}
This will only display the auth box IF the customer is logged in.

Hope this helps.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #6  
Old 03-12-2010, 08:54 PM
 
krtwn krtwn is offline
 

Advanced Member
  
Join Date: Feb 2010
Posts: 32
 

Default Re: left menu "your account"

Thanks all! that was exacly what i needed
__________________
Thanks!,

Maria

X-Cart Version: 4.4.2 GOLD
[win]
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 10:27 AM.

   

 
X-Cart forums © 2001-2020