Account password page

From Zen Cart(tm) Wiki
Jump to: navigation, search

The Account_password page is explained here.



Configuration options

This table below shows most of the configuration options including language text for the Account_password 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 'My Password' Edit language file account_password.php near line 26 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_PASSWORD_CURRENT 'Current Password:' Edit language file english.php near line 249 in the directory includes\languages\YOUR_TEMPLATE
ENTRY_PASSWORD_CURRENT_TEXT '*' Edit language file english.php near line 250 in the directory includes\languages\YOUR_TEMPLATE
ENTRY_PASSWORD_NEW 'New Password:' Edit language file english.php near line 252 in the directory includes\languages\YOUR_TEMPLATE
ENTRY_PASSWORD_NEW_TEXT '*' Edit language file english.php near line 253 in the directory includes\languages\YOUR_TEMPLATE
ENTRY_PASSWORD_CONFIRMATION 'Confirm Password:' Edit language file english.php near line 247 in the directory includes\languages\YOUR_TEMPLATE
ENTRY_PASSWORD_CONFIRMATION_TEXT '*' Edit language file english.php near line 248 in the directory includes\languages\YOUR_TEMPLATE
BUTTON_IMAGE_SUBMIT File: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 File: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
ENTRY_PASSWORD_CURRENT_ERROR 'Your Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.' Edit language file english.php near line 251 in the directory includes\languages\YOUR_TEMPLATE
ENTRY_PASSWORD_NEW_ERROR 'Your new Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.' Edit language file english.php near line 254 in the directory includes\languages\YOUR_TEMPLATE
ENTRY_PASSWORD_NEW_ERROR_NOT_MATCHING 'The Password Confirmation must match your new Password.' Edit language file english.php near line 255 in the directory includes\languages\YOUR_TEMPLATE
SUCCESS_PASSWORD_UPDATED 'Your password has been successfully updated.' Edit language file account_password.php near line 30 in the directory includes\languages\english\YOUR_TEMPLATE
ERROR_CURRENT_PASSWORD_NOT_MATCHING 'Your Current Password did not match the password in our records. Please try again.' Edit language file account_password.php near line 31 in the directory includes\languages\english\YOUR_TEMPLATE
NAVBAR_TITLE_1 'My Account' Edit language file account_password.php near line 23 in the directory includes\languages\english\YOUR_TEMPLATE
NAVBAR_TITLE_2 'Change Password' Edit language file account_password.php near line 24 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\account_password\header_php.php
  • includes\templates\template_default\templates\tpl_account_password_default.php

Defines (configuration options) are defined in:

  • configuration table in the database
  • includes\languages\english.php
  • includes\languages\english\account_password.php
  • includes\languages\english\button_names.php

Product type configuration option are ignored Shipping, payment and Order Total module configuration option are also ignored