| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Version 4.2.2 Hide Username and Password area | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Version 4.2.2 Hide Username and Password area
Please see the attachment for what i want to do.
Any help would be so greatly appreciated! Thanks! Ben Hoffman
__________________
x-cart 4.2.2 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Version 4.2.2 Hide Username and Password area
Suggest you fire up Webmaster mode from Admin.
Then you'll see which templates to edit - and that will help with this, and your future changes.
__________________
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
|
|||||||
|
|||||||
Re: Version 4.2.2 Hide Username and Password area
I know what to edit (auth.tpl) i just dont know how to kide it without getting this error:
Error: Smarty error: [in customer/auth.tpl line 32]: syntax error: mismatched tag {/if}. (Smarty_Compiler.class.php, line 2303) in /home/rlstamer/public_html/store/include/lib/smarty/Smarty.class.php on line 1092
__________________
x-cart 4.2.2 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Version 4.2.2 Hide Username and Password area
Well what do you want there exactly?
Do you just want a blue bar? Or do you want it do show anything when logged in?
__________________
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. |
|||||||||
|
#5
|
|||||||
|
|||||||
Re: Version 4.2.2 Hide Username and Password area
Here is the code:
{* $Id: auth.tpl,v 1.9 2008/12/08 08:40:12 svowl Exp $ vim: set ts=2 sw=2 sts=2 et: *} {if $main ne "login_incorrect" and $main ne "antibot_error" and $main ne "disabled" or $config.Security.use_secure_login_page eq "Y"} <form action="{$auth_form_url}/include/login.php" method="post" name="authform" class="item"> <input type="hidden" name="{$XCARTSESSNAME}" value="{$XCARTSESSID}" /> {if $config.Security.use_secure_login_page eq "Y"} <div class="login-buttons"> <label><a href="{$slogin_url}">{$lng.lbl_secure_login}</a></label> <div class="register-button vertical-align"> {include file="customer/buttons/create_profile_menu.tpl" style="link"} </div> </div> {elseif $active_modules.Image_Verification and $show_antibot.on_login eq 'Y' && $login_antibot_on} <label><a href="error_message.php?need_login">{$lng.lbl_logi n}</a></label> {else} <input type="hidden" name="mode" value="login" /> <input type="hidden" name="usertype" value="{$auth_usertype}" /> <input type="hidden" name="redirect" value="{$redirect|amp}" /> <label for="auth_username">{$lng.lbl_username}</label> <input type="text" id="auth_username" name="username" size="16" value="{#default_login#|default:$username}" class="input-text" /> <label for="auth_password">{$lng.lbl_password}</label> <input type="password" id="auth_password" name="password" size="16" maxlength="64" value="{#default_password#}" class="input-text" /> {include file="customer/buttons/login_menu.tpl" style="image"} <div class="register-button vertical-align"> {include file="customer/buttons/create_profile_menu.tpl" style="link"} </div> {/if} </form> {/if} But how do i make it go away with out an error? THanks
__________________
x-cart 4.2.2 |
|||||||
#6
|
|||||||
|
|||||||
Re: Version 4.2.2 Hide Username and Password area
I just want the blue bar
Thanks
__________________
x-cart 4.2.2 |
|||||||
#7
|
|||||||||
|
|||||||||
Re: Version 4.2.2 Hide Username and Password area
Well you will have an include statement, probably in head.tpl that calls auth.tpl
It is that that you want to remove/comment out. However, when logged in, that will be replaced by the contents of authbox.tpl, so you need to remove/comment out all of that.
__________________
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. |
|||||||||
|
#8
|
|||||||
|
|||||||
Re: Version 4.2.2 Hide Username and Password area
Thank You So Much!!!
__________________
x-cart 4.2.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|