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

Version 4.2.2 Hide Username and Password area

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-25-2009, 06:35 AM
 
benhoffman benhoffman is offline
 

Member
  
Join Date: Jul 2006
Posts: 18
 

Default 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
Attached Thumbnails
Click image for larger version

Name:	RLS TAMER XCART HELP.gif
Views:	120
Size:	22.7 KB
ID:	1674  
__________________
x-cart 4.2.2
Reply With Quote
  #2  
Old 09-25-2009, 06:47 AM
  pauldodman's Avatar 
pauldodman pauldodman is online now
 

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

Default 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.
Reply With Quote

The following user thanks pauldodman for this useful post:
benhoffman (09-25-2009)
  #3  
Old 09-25-2009, 07:38 AM
 
benhoffman benhoffman is offline
 

Member
  
Join Date: Jul 2006
Posts: 18
 

Default 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
Reply With Quote
  #4  
Old 09-25-2009, 07:41 AM
  pauldodman's Avatar 
pauldodman pauldodman is online now
 

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

Default 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.
Reply With Quote

The following user thanks pauldodman for this useful post:
benhoffman (09-25-2009)
  #5  
Old 09-25-2009, 07:42 AM
 
benhoffman benhoffman is offline
 

Member
  
Join Date: Jul 2006
Posts: 18
 

Default 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
Reply With Quote
  #6  
Old 09-25-2009, 07:42 AM
 
benhoffman benhoffman is offline
 

Member
  
Join Date: Jul 2006
Posts: 18
 

Default Re: Version 4.2.2 Hide Username and Password area

I just want the blue bar

Thanks
__________________
x-cart 4.2.2
Reply With Quote
  #7  
Old 09-25-2009, 07:44 AM
  pauldodman's Avatar 
pauldodman pauldodman is online now
 

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

Default 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.
Reply With Quote

The following user thanks pauldodman for this useful post:
benhoffman (09-25-2009)
  #8  
Old 09-25-2009, 07:57 AM
 
benhoffman benhoffman is offline
 

Member
  
Join Date: Jul 2006
Posts: 18
 

Default Re: Version 4.2.2 Hide Username and Password area

Thank You So Much!!!
__________________
x-cart 4.2.2
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 08:58 AM.

   

 
X-Cart forums © 2001-2020