Thread: auth tpl help
View Single Post
  #2  
Old 09-15-2004, 04:41 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

First, edit the file /include/check_useraccount.php al look for these lines at the bottom of the file:

Code:
x_session_save(); $smarty->assign("is_merchant_password", $is_merchant_password); $smarty->assign("login",$login);

Add the line
Code:
$smarty->assign("user_account",$user_account);

so that it now reads:

Code:
x_session_save(); $smarty->assign("user_account",$user_account); $smarty->assign("is_merchant_password", $is_merchant_password); $smarty->assign("login",$login);

Next, edit the file /skin1/authbox.tpl and look for the variable {$login} near the top of the file. Change this to:

Code:
{$user_account.firstname}{$user_account.lastname}
Reply With Quote