View Single Post
  #2  
Old 08-18-2008, 03:04 AM
  Piotr M.'s Avatar 
Piotr M. Piotr M. is offline
 

Senior Member
  
Join Date: Aug 2008
Posts: 134
 

Default 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:
define('HTTPS_CHECK_SKIP',1); 
at the beginning of secure_login.php before line
PHP Code:
include "./auth.php"
And modify /skin1/customer/main/secure_login_form.tpl
Replace
Code:
<form action="{$https_location}/include/login.php" method="post" name=secureform>
with
Code:
<form action="{$http_location}/include/login.php" method="post" name=secureform>

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
Reply With Quote