View Single Post
  #45  
Old 10-21-2005, 05:04 AM
 
cdrh cdrh is offline
 

Member
  
Join Date: Sep 2005
Posts: 14
 

Default

Quote:
Originally Posted by shan
a simple way to create a log in page is.

add a link

Code:
<table border="0" align="right" cellpadding="0" cellspacing="0"> <tr> {if $login} <FORM action="{$xcart_web_dir}/include/login.php" method="post" name="loginform"> <td> Log Out - {$login} <INPUT type="hidden" name="mode" value="logout"> <INPUT type="hidden" name="redirect" value="{$redirect}"> </td> </FORM> {else} <td> Log In </td> {/if} </tr> </table>

edit checkout.tpl. get the bit of code at the top and wrap it with the following to remove the cart part showing if the page is being used for log in


Ok, I'm trying to follow Shan's directions for a simple login page, but I don't seem to have a checkout.tpl - am I missing something??

Thanks!
__________________
X-Cart version 4.0.14
Reply With Quote