![]() |
Version 4.2.2 Hide Username and Password area
1 Attachment(s)
Please see the attachment for what i want to do.
Any help would be so greatly appreciated! Thanks! Ben Hoffman |
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. |
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 |
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? |
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 |
Re: Version 4.2.2 Hide Username and Password area
I just want the blue bar
Thanks |
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. |
Re: Version 4.2.2 Hide Username and Password area
Thank You So Much!!!
|
All times are GMT -8. The time now is 03:40 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.