Putting Log In / Log Out form in head.tpl
I wanted to remove the auth.tpl / authbox.tpl Login box from the side columns and move the login into the head.tpl (same as where the search box appears, but aligned to right).
I've managed to get it to halfway work by copy/pasting the javascript and buttons etc. from the auth.tpl and authbox.tpl but I really need to do it so that it calls the two .tpl files as it does in the menu box. That part is easy, but how do I detatch the menu.tpl from it so that it doesn't display as a menu item - I've tried commenting the include call out of auth.tpl but that just creates parse errors - in case you can't tell, I'm pretty new to smarty / php and everything else...
I'd just like the login items to display inline:
Login :: (Login Box) :: Password :: (PW Box) :: Go Button || Recover Password :: Register
Then when logged in:
"User" is logged in :: Sign Out
If need be, Recover PW and Register can be on a second line.
I have seen similar posts but none which really do the same as I'd like here... Any help would be great, thanks!!
__________________
Danny - Photoscope Б─╒ X-Cart Version 4.0.14
|