| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Putting Log In / Log Out form in head.tpl | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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 |
|||||||
#2
|
|||||||
|
|||||||
![]() Just remove these lines to get rid of the menu 'box':
{capture name=menu} {/capture} { include file="menu.tpl" dingbats="dingbats_authentification.gif" menu_title=$lng.lbl_authentication menu_content=$smarty.capture.menu }
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() I had a similar requirment to REMOVE the LOGIN and REGISTER section on the Home page and have this in the Checkout for returning customers.....
However i have realised that a LOGIN Button is needed so anyone that has purchased can login to there account and view invoices!!!! at present there is NO login and NO logout feature, i need a single button that can allow LOGIN and after finishing the same button becomes a LOGOUT, although an ordinary logout button would work ok. Any ideas appreciated http://www.realsecurity.co.uk Xcart V 4.0.13
__________________
SURECOM XCART V4.1.8 |
|||||||
#4
|
|||||||
|
|||||||
![]() That is what the X-Cart auth.tpl and authbox.tpl already do. You can't have a single 'login' button, you need a username and password field to go with it. Just add the includes back in to your home.tpl.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() What i actually wanted is to place a LOGIN button on the homepage only, this link then OPENS up a new page displaying User and password. But not having this LOGIN and REGISTER on the home page makes it look neater. having too many bars and sections makes scrolling longer.
I actaully would prefer the left lower pane to be on the other side to the right. I am yet to move this when i find out how.
__________________
SURECOM XCART V4.1.8 |
|||||||
#6
|
|||||||
|
|||||||
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() Thanks for that will have a look into it, was about to post a ticket for x cart to do one. cheers.....
__________________
SURECOM XCART V4.1.8 |
|||||||
#8
|
|||||||
|
|||||||
![]() Quote:
Thanks balinor! I am a newbie and as i go through the somewhat steep learning curve, your posts are a great help!
__________________
X-Cart V 4.1.8 Php 5.1.6 Web Server Apache 2.2.2 (fedora) OS Linux Site: http://www.travelsim.net.au |
|||||||
|
|||
X-Cart forums © 2001-2020
|