Difference between revisions of "Down for maintenance page"

From Zen Cart(tm) Wiki
Jump to: navigation, search
m (Reverted edits by Kt1Fvs (Talk); changed back to last version by DrByte)
Line 1: Line 1:
The '''Down_for_maintenance page''' is explained here.
 
  
 
 
 
 
== 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]]
 
 
 
{| 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 
 
|  'Down for Maintenance ...' 
 
| Edit language file<b> down_for_maintenance.php</b> 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<b>  'down_for_maintenance.gif'</b> 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<b> other_images_names.php</b> 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<b> down_for_maintenance.php</b> near line 26 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| DISPLAY_MAINTENANCE_TIME 
 
| false 
 
| Change this in ADMIN<br /><b>Configuration --> Website Maintenance --> [[Admin - Configuration - Website Maintenance#Display when webmaster has enabled maintenance|Display when webmaster has enabled maintenance]].</b><br /><br />Display when Webmaster has enabled maintenance <br />(true=on false=off)<br /> 
 
|-
 
| TEXT_MAINTENANCE_ON_AT_TIME 
 
|  'The Admin / Webmaster has enabled maintenance at : ' 
 
| Edit language file<b> down_for_maintenance.php</b> near line 27 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| DISPLAY_MAINTENANCE_PERIOD 
 
| false 
 
| Change this in ADMIN<br /><b>Configuration --> Website Maintenance --> [[Admin - Configuration - Website Maintenance#Display website maintenance period|Display website maintenance period]].</b><br /><br />Display Website maintenance period <br />(true=on false=off)<br /> 
 
|-
 
| TEXT_MAINTENANCE_PERIOD 
 
|  'Maintenance period: ' 
 
| Edit language file<b> down_for_maintenance.php</b> near line 28 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| TEXT_MAINTENANCE_PERIOD_TIME 
 
| 2h00 
 
| Change this in ADMIN<br /><b>Configuration --> Website Maintenance --> [[Admin - Configuration - Website Maintenance#Website maintenance period|Website maintenance period]].</b><br /><br />Enter Website Maintenance period (hh:mm) 
 
|-
 
| DOWN_FOR_MAINTENANCE_STATUS_TEXT 
 
|  'To verify the site status ... Click here:' 
 
| Edit language file<b> down_for_maintenance.php</b> near line 29 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| BUTTON_IMAGE_CONTINUE 
 
| [[Image:button_continue.gif]] 
 
| Edit button image file<b>  'button_continue.gif'</b> in the directory ''includes\templates\YOUR_TEMPLATE\buttons\english\'' with a graphic tool 
 
|-
 
| BUTTON_CONTINUE_ALT 
 
|  'Continue' 
 
| Edit button names file<b> button_names.php</b> near line 74 in the directory ''includes\languages\english\YOUR_TEMPLATE''. <br />Note: This text will be visible when your hover over this button. 
 
|-
 
| NAVBAR_TITLE 
 
|  'Down for Maintenance' 
 
| Edit language file<b> down_for_maintenance.php</b> near line 24 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| DOWN_FOR_MAINTENANCE_COLUMN_RIGHT_OFF 
 
| false 
 
| Change this in ADMIN<br /><b>Configuration --> Website Maintenance --> [[Admin - Configuration - Website Maintenance#Down for Maintenance: Hide Column Right|Down for Maintenance: Hide Column Right]].</b><br /><br />Down for Maintenance: Hide Column Right <br />(true=hide false=show) 
 
|-
 
| DOWN_FOR_MAINTENANCE_COLUMN_LEFT_OFF 
 
| false 
 
| Change this in ADMIN<br /><b>Configuration --> Website Maintenance --> [[Admin - Configuration - Website Maintenance#Down for Maintenance: Hide Column Left|Down for Maintenance: Hide Column Left]].</b><br /><br />Down for Maintenance: Hide Column Left <br />(true=hide false=show) 
 
|-
 
| DOWN_FOR_MAINTENANCE_FOOTER_OFF 
 
| false 
 
| Change this in ADMIN<br /><b>Configuration --> Website Maintenance --> [[Admin - Configuration - Website Maintenance#Down for Maintenance: Hide Footer|Down for Maintenance: Hide Footer]].</b><br /><br />Down for Maintenance: Hide Footer <br />(true=hide false=show) 
 
|-
 
| DOWN_FOR_MAINTENANCE_HEADER_OFF 
 
| false 
 
| Change this in ADMIN<br /><b>Configuration --> Website Maintenance --> [[Admin - Configuration - Website Maintenance#Down for Maintenance: Hide Header|Down for Maintenance: Hide Header]].</b><br /><br />Down for Maintenance: Hide Header <br />(true=hide false=show) 
 
|-
 
| DOWN_FOR_MAINTENANCE 
 
| false 
 
| Change this in ADMIN<br /><b>Configuration --> Website Maintenance --> [[Admin - Configuration - Website Maintenance#<strong>Down for Maintenance: ON/OFF</strong>|<strong>Down for Maintenance: ON/OFF</strong>]].</b><br /><br />Down for Maintenance <br />(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
 

Revision as of 00:39, 5 December 2007