![]() |
move login/registration
i would like to remove the authentication box from the home page, i only want links to the login/registration area from the home page.
can this be done fairly simplely, or do i have to buy a mod or somthing. thanks -swif |
Re: move login/registration
|
Re: move login/registration
not really a "simple" fix, but i think i can make it work.
thanks again. -swif |
Re: move login/registration
Quote:
You could SIMPLY comment out the auth.tpl include in home.tpl file: /skin1/customer/home.tpl FIND: Code:
{if $login eq "" } REPLACE WITH: Code:
{if $login ne "" } 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 ":orders 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. |
All times are GMT -8. The time now is 06:07 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.