Down for maintenance page
From Zen Cart(tm) Wiki
The Down_for_maintenance page is explained here.
[edit]
Configuration options
This table below shows most of the configuration options including language text for the Down_for_maintenance 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 | 'Down for Maintenance ...' | Edit language file down_for_maintenance.php near line 25 in the directory includes\languages\english\YOUR_TEMPLATE |
| OTHER_IMAGE_DOWN_FOR_MAINTENANCE | Image:Down for maintenance.gif | Edit other image file 'down_for_maintenance.gif' in the directory includes\templates\YOUR_TEMPLATE\images\ with a graphic tool |
| OTHER_DOWN_FOR_MAINTENANCE_ALT | 'The site is currently down for maintenance. Please come back later.' | Edit other names file other_images_names.php near line 38 in the directory includes\languages\english\YOUR_TEMPLATE |
| DOWN_FOR_MAINTENANCE_TEXT_INFORMATION | 'The site is currently down for maintenance. Please excuse the dust, and try back later.' | Edit language file down_for_maintenance.php near line 26 in the directory includes\languages\english\YOUR_TEMPLATE |
| DISPLAY_MAINTENANCE_TIME | false | Change this in ADMIN Configuration --> Website Maintenance --> Display when webmaster has enabled maintenance. Display when Webmaster has enabled maintenance (true=on false=off) |
| TEXT_MAINTENANCE_ON_AT_TIME | 'The Admin / Webmaster has enabled maintenance at : ' | Edit language file down_for_maintenance.php near line 27 in the directory includes\languages\english\YOUR_TEMPLATE |
| DISPLAY_MAINTENANCE_PERIOD | false | Change this in ADMIN Configuration --> Website Maintenance --> Display website maintenance period. Display Website maintenance period (true=on false=off) |
| TEXT_MAINTENANCE_PERIOD | 'Maintenance period: ' | Edit language file down_for_maintenance.php near line 28 in the directory includes\languages\english\YOUR_TEMPLATE |
| TEXT_MAINTENANCE_PERIOD_TIME | 2h00 | Change this in ADMIN Configuration --> Website Maintenance --> Website maintenance period. Enter Website Maintenance period (hh:mm) |
| DOWN_FOR_MAINTENANCE_STATUS_TEXT | 'To verify the site status ... Click here:' | Edit language file down_for_maintenance.php near line 29 in the directory includes\languages\english\YOUR_TEMPLATE |
| BUTTON_IMAGE_CONTINUE | Image:Button continue.gif | Edit button image file 'button_continue.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool |
| BUTTON_CONTINUE_ALT | 'Continue' | Edit button names file button_names.php near line 74 in the directory includes\languages\english\YOUR_TEMPLATE. Note: This text will be visible when your hover over this button. |
| NAVBAR_TITLE | 'Down for Maintenance' | Edit language file down_for_maintenance.php near line 24 in the directory includes\languages\english\YOUR_TEMPLATE |
| DOWN_FOR_MAINTENANCE_COLUMN_RIGHT_OFF | false | Change this in ADMIN Configuration --> Website Maintenance --> Down for Maintenance: Hide Column Right. Down for Maintenance: Hide Column Right (true=hide false=show) |
| DOWN_FOR_MAINTENANCE_COLUMN_LEFT_OFF | false | Change this in ADMIN Configuration --> Website Maintenance --> Down for Maintenance: Hide Column Left. Down for Maintenance: Hide Column Left (true=hide false=show) |
| DOWN_FOR_MAINTENANCE_FOOTER_OFF | false | Change this in ADMIN Configuration --> Website Maintenance --> Down for Maintenance: Hide Footer. Down for Maintenance: Hide Footer (true=hide false=show) |
| DOWN_FOR_MAINTENANCE_HEADER_OFF | false | Change this in ADMIN Configuration --> Website Maintenance --> Down for Maintenance: Hide Header. Down for Maintenance: Hide Header (true=hide false=show) |
| DOWN_FOR_MAINTENANCE | false | Change this in ADMIN Configuration --> Website Maintenance --> [[Admin - Configuration - Website Maintenance#Down for Maintenance: ON/OFF|Down for Maintenance: ON/OFF]]. Down for Maintenance (true=on false=off) |
NOTE: This table is made by looking for used defines in the following files:
- includes\modules\pages\down_for_maintenance\header_php.php
- includes\templates\template_default\templates\tpl_down_for_maintenance_default.php
Defines (configuration options) are defined in:
- configuration table in the database
- includes\languages\english\button_names.php
- includes\languages\english\down_for_maintenance.php
- includes\languages\english\other_images_names.php
Product type configuration option are ignored Shipping, payment and Order Total module configuration option are also ignored
