Quote:
can this be done fairly simplely
|
You could SIMPLY comment out the auth.tpl include in home.tpl
file: /skin1/customer/home.tpl
FIND:
Code:
{if $login eq "" }
{include file="auth.tpl" }
{else}
{include file="authbox.tpl" }
{/if}
REPLACE WITH:
Code:
{if $login ne "" }
{* {include file="auth.tpl" }
{else} *}
<br />
{include file="authbox.tpl" }
{/if}
What this will do: UNTIL a user is logged in, there is nothing showing -- then once logged in, the authbox with the login info appears. Note the {if $login eq "" } was replaced with {if $login ne "" } -- so if there is no login, then there is nothing -- if login IS NOT EMPTY, then show the authbox.
YOU CAN THEN add links to login or registration as desired... this is how I have i set up. Works great for me. I DO NOT have any login box on my site... BUT I have an "

rders history" link, which becomes: /error_message.php?need_login= and then the user can login and see their orders. This is one way to do this.