Difference between revisions of "Login page"

From Zen Cart(tm) Wiki
Jump to: navigation, search
(initial version)
 
Line 1: Line 1:
The '''Login page''' is where customers need to login for buying products and changing their account information. Customers login with their email address as login account and a secret password. Those who not login before can fill in a form to make a new login accoun
 
  
 
 
 
== Configuration options ==
 
This table below shows most of the configuration options including language text for the ''Login page''.
 
It is based on a ZenCart version 1.3.0.
 
Before editing files copy the original file (if not done before) to YOUR_TEMPLATE directory.
 
 
Copy image and button files
 
* from ''includes\templates\'''template_default'''\images\..... ''to ''includes\templates\'''YOUR_TEMPLATE'''\images\.....''
 
* from ''includes\templates\'''template_default'''\buttons\..... ''to ''includes\templates\'''YOUR_TEMPLATE'''\buttons\.....''
 
Copy language files
 
* from ''includes\language\..... ''to ''includes\language\'''YOUR_TEMPLATE'''\.....''
 
* from ''includes\language\english\..... ''to ''includes\language\english\'''YOUR_TEMPLATE'''\.....''
 
See also [[Customisation - Templates]]
 
 
 
{| border="1" style="border-collapse:collapse;border:1px solid silver;width:100%;"
 
|- style="background:Lightblue;text-align:left;"
 
! | Name 
 
! | Default value 
 
! | How to change 
 
|-
 
| HEADING_TITLE 
 
|  'Welcome, Please Sign In' 
 
| Edit language file<b> login.php</b> near line 24 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| TEXT_VISITORS_CART 
 
|  '<strong>Note:</strong> Your "Visitors Cart" contents will be merged with your "Members Cart" contents once you have logged on. <a href="javascript:session_win();">[More Info]</a>' 
 
| Edit language file<b> login.php</b> near line 34 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| HEADING_RETURNING_CUSTOMER 
 
|  'Returning Customers: Please Log In' 
 
| Edit language file<b> login.php</b> near line 29 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| ENTRY_EMAIL_ADDRESS 
 
|  'Email Address:' 
 
| Edit language file<b> english.php</b> near line 202 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 
|-
 
| ENTRY_PASSWORD 
 
|  'Password:' 
 
| Edit language file<b> english.php</b> near line 243 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 
|-
 
| BUTTON_IMAGE_LOGIN 
 
| [[Image:button_login.gif]] 
 
| Edit button image file<b>  'button_login.gif'</b> in the directory ''includes\templates\YOUR_TEMPLATE\buttons\english\'' with a graphic tool 
 
|-
 
| BUTTON_LOGIN_ALT 
 
|  'Sign In' 
 
| Edit button names file<b> button_names.php</b> near line 80 in the directory ''includes\languages\english\YOUR_TEMPLATE''. <br />Note: This text will be visible when your hover over this button. 
 
|-
 
| TEXT_PASSWORD_FORGOTTEN 
 
|  'Forgot your password?' 
 
| Edit language file<b> login.php</b> near line 31 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| HEADING_NEW_CUSTOMER 
 
|  'New? Please Provide Your Billing Information' 
 
| Edit language file<b> login.php</b> near line 26 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| TEXT_NEW_CUSTOMER_INTRODUCTION 
 
|  'Creating a login profile with ' . STORE_NAME . ' allows you to shop faster, track the status of your current orders and review your previous orders.' 
 
| Edit language file<b> login.php</b> near line 27 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| BUTTON_IMAGE_SUBMIT 
 
| [[Image:button_submit.gif]] 
 
| Edit button image file<b>  'button_submit.gif'</b> in the directory ''includes\templates\YOUR_TEMPLATE\buttons\english\'' with a graphic tool 
 
|-
 
| BUTTON_SUBMIT_ALT 
 
|  'Submit the Information' 
 
| Edit button names file<b> button_names.php</b> near line 93 in the directory ''includes\languages\english\YOUR_TEMPLATE''. <br />Note: This text will be visible when your hover over this button. 
 
|-
 
| SESSION_RECREATE 
 
| True 
 
| Change this in ADMIN<br /><b>Configuration --> Sessions --> [[Admin - Configuration - Sessions#Recreate Session|Recreate Session]].</b><br /><br />Recreate the session to generate a new session ID when the customer logs on or creates an account (PHP >=4.1 needed). 
 
|-
 
| TEXT_LOGIN_ERROR 
 
|  'Error: Sorry, there is no match for that email address and/or password.' 
 
| Edit language file<b> login.php</b> near line 33 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| NAVBAR_TITLE 
 
|  'Login' 
 
| Edit language file<b> login.php</b> near line 23 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|}
 
 
NOTE:
 
This table is made by looking for defines in the following files:
 
* includes\modules\pages\login\header_php.php
 
* includes\templates\template_default\templates\tpl_login_default.php
 
Defines (configuration options) are defined in:
 
* Configuration table in the database
 
* includes\languages\english.php
 
* includes\languages\english\button_names.php
 
* includes\languages\english\login.php
 
Product type configuration option are ignored
 

Revision as of 00:40, 5 December 2007