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

Move "forgot your password" inside Authentication

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-23-2005, 02:06 AM
 
Isleman Isleman is offline
 

Senior Member
  
Join Date: Jan 2005
Location: UK
Posts: 128
 

Default Move "forgot your password" inside Authentication

I would like to move " Forgot your password? Click here " which is sitting under Authentication box insixde it .
Does anyboy know how can I do it ?
__________________
X-Cart ver. 4.4.2 ( www.responseelectronics.com )
X-Cart ver. 4.1.11 ( www.mrdoorbell.com)
Reply With Quote
  #2  
Old 02-23-2005, 03:05 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Just use this piece of code wherever you want to put that link:

Code:
{if $login eq ""}{$lng.lbl_recover_password}{/if}

It resides in auth.tpl by default.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-23-2005, 04:05 AM
 
Isleman Isleman is offline
 

Senior Member
  
Join Date: Jan 2005
Location: UK
Posts: 128
 

Default

Thanks a lot for your answer.

I was trying to insert the code you provide in auth.tpl but it doesn't work . I don't get anything in authentication box.

This is a portion of my auth.tpl where I am trying to get it working.

{else} {* use_secure_login_page *}
<tr><td class=VertMenuItems>
<font class=VertMenuItems>{$lng.lbl_username}</font>

<input type=text name=username size=16 value="{#default_login#}">

<font class=VertMenuItems>{$lng.lbl_password}</font>

<input type=password name=password size=16 value="{#default_password#}">

<input type=hidden name=mode value=login>
{if $active_modules.Simple_Mode ne "" and $usertype ne "C" and $usertype ne "B"}
<input type=hidden name=usertype value="P">
{else}
<input type=hidden name=usertype value="{$usertype}">
{/if}
<input type=hidden name=redirect value="{$redirect}"></td></tr><tr><td height=24 class=VertMenuItems>
{if $js_enabled}
{include file="buttons/login_menu.tpl"}
{else}
__________________
X-Cart ver. 4.4.2 ( www.responseelectronics.com )
X-Cart ver. 4.1.11 ( www.mrdoorbell.com)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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:23 PM.

   

 
X-Cart forums © 2001-2020