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!