| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Link to Login Page | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Link to Login Page
I want to remove the Login box from the template and just have a link to a login page. I have done some searching and I know there are threads out there on the topic. Most of them are quite old and I'm not sure if they will work on 4.1.10
The page in x-cart with the URL "error_message.php?login_incorrect" that you get by clicking on the LOGIN link in the Auth box wiht no data pretty much says what I need it to except for the error messages. Surely there's a pretty quick/easy way to link to a login page or someone has a decent mod out there I can use/buy. Can someone point me in the right direction?
__________________
Version 4.1.6 to 4.1.11 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Link to Login Page
The secure login page is located at example.com/xcart/secure_login.php
But pay attention to the fact this page will take you to login page over https. If you need login page with over http, add PHP Code:
PHP Code:
Replace Code:
Code:
But that's quick dirty trick. The first way with secure login is better than this. One more way is creating separate page for insecure login, if you need one.
__________________
Regards, Piotr Markushin X-Cart PDF Catalog Generator NEW Professional X-Cart Skins Store (7 new skins added in August 2008!) ahedOffice.com - Web 2.0 Online Groupware |
|||||||||
#3
|
|||||||
|
|||||||
Re: Link to Login Page
That looks a bit shorter than the other ways I was reading about. I will give that a try.
Thanks. (Probably better than my cheat solution of using the error page and removing the error message!)
__________________
Version 4.1.6 to 4.1.11 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Link to Login Page
If you are looking for a more elagant solution with more flexibility try the mod in this thread:
http://forum.x-cart.com/showthread.php?t=10141&page=8 In post nr. 75 there's a zip with all the files needed. But to make this work for version 4.1.1o you need to modify the last section in the readme file about register.php with this: PHP Code:
The nice thing about this mod is that you can include several different templates to suit yout needs
__________________
____________________________ X-Cart Gold 4.1.10 EWD Hosting | CDSEO Pro | One Page Checkout | Smart Search | Telafirma Dynamic Images | X-AOM | Product Importer Pro and many custom mods and tweaks found here... |
|||||||||
|
|||
X-Cart forums © 2001-2020
|