Password forgotten page
From Zen Cart(tm) Wiki
The Password_forgotten page is explained here.
[edit]
Configuration options
This table below shows most of the configuration options including language text for the Password_forgotten 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
| Name | Default value | How to change |
|---|---|---|
| HEADING_TITLE | 'Forgotten Password' | Edit language file password_forgotten.php near line 13 in the directory includes\languages\english\YOUR_TEMPLATE |
| TEXT_MAIN | 'Enter your email address below and we'\ll send you an email message containing your new password.' | Edit language file password_forgotten.php near line 15 in the directory includes\languages\english\YOUR_TEMPLATE |
| FORM_REQUIRED_INFORMATION | '* Required information' | Edit language file english.php near line 258 in the directory includes\languages\YOUR_TEMPLATE |
| ENTRY_EMAIL_ADDRESS | 'Email Address:' | Edit language file english.php near line 202 in the directory includes\languages\YOUR_TEMPLATE |
| ENTRY_EMAIL_ADDRESS_TEXT | '*' | Edit language file english.php near line 206 in the directory includes\languages\YOUR_TEMPLATE |
| BUTTON_IMAGE_SUBMIT | Image:Button submit.gif | Edit button image file 'button_submit.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool |
| BUTTON_SUBMIT_ALT | 'Submit the Information' | Edit button names file button_names.php near line 93 in the directory includes\languages\english\YOUR_TEMPLATE. Note: This text will be visible when your hover over this button. |
| BUTTON_IMAGE_BACK | Image:Button back.gif | Edit button image file 'button_back.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool |
| BUTTON_BACK_ALT | 'Back' | Edit button names file button_names.php near line 67 in the directory includes\languages\english\YOUR_TEMPLATE. Note: This text will be visible when your hover over this button. |
| ENTRY_PASSWORD_MIN_LENGTH | 5 | Change this in ADMIN Configuration --> Minimum Values --> Password. Minimum length of password |
| EMAIL_PASSWORD_REMINDER_BODY | 'A new password was requested from ' . $_SERVER['REMOTE_ADDR'] . '.' . "n\n\" . 'Your new password to '\' . STORE_NAME . \ is:' . "n\n\" . ' %s' . "n\nAfter you have logged in using the new password\, you may change it by going to the 'My Account' area." | Edit language file password_forgotten.php near line 20 in the directory includes\languages\english\YOUR_TEMPLATE |
| EMAIL_PASSWORD_REMINDER_SUBJECT | STORE_NAME . ' - New Password' | Edit language file password_forgotten.php near line 19 in the directory includes\languages\english\YOUR_TEMPLATE |
| STORE_NAME | test300 | Change this in ADMIN Configuration --> My Store --> Store Name. The name of my store |
| EMAIL_FROM | test@test.nl | Change this in ADMIN Configuration --> E-Mail Options --> Email Address (sent FROM). Address from which email messages will be "sent" by default. Can be over-ridden at compose-time in admin modules. |
| SUCCESS_PASSWORD_SENT | 'A new password has been sent to your email address.' | Edit language file password_forgotten.php near line 22 in the directory includes\languages\english\YOUR_TEMPLATE |
| TEXT_NO_EMAIL_ADDRESS_FOUND | 'Error: The Email Address was not found in our records; please try again.' | Edit language file password_forgotten.php near line 17 in the directory includes\languages\english\YOUR_TEMPLATE |
| NAVBAR_TITLE_1 | 'Login' | Edit language file password_forgotten.php near line 10 in the directory includes\languages\english\YOUR_TEMPLATE |
| NAVBAR_TITLE_2 | 'Password Forgotten' | Edit language file password_forgotten.php near line 11 in the directory includes\languages\english\YOUR_TEMPLATE |
NOTE: This table is made by looking for used defines in the following files:
- includes\modules\pages\password_forgotten\header_php.php
- includes\templates\template_default\templates\tpl_password_forgotten_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\password_forgotten.php
Product type configuration option are ignored Shipping, payment and Order Total module configuration option are also ignored
