Page page
From Zen Cart(tm) Wiki
The Page page is explained here. This page is also known as EZ-page. The reason that it is call Page page here is that ZenCart uses the name page in filenames like
- includes\modules\pages\page\header_php.php and
- includes\templates\template_default\templates\tpl_page_default.php
See also:
[edit]
Configuration options
This table below shows most of the configuration options including language text for the Page 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 |
|---|---|---|
| EZPAGES_SHOW_PREV_NEXT_BUTTONS | 2 | Change this in ADMIN Configuration --> EZ-Pages Settings --> EZ-Pages Prev/Next Buttons. Display Prev/Continue/Next buttons on EZ-Pages pages? 0=OFF (no buttons) 1="Continue" 2="Prev/Continue/Next" Default setting: 2. |
| EZPAGES_SHOW_TABLE_CONTENTS | 1 | Change this in ADMIN Configuration --> EZ-Pages Settings --> EZ-Pages Table of Contents for Chapters Status. Enable EZ-Pages Table of Contents for Chapters? 0= OFF 1= ON |
| BUTTON_IMAGE_PREVIOUS | Image:Button prev.gif | Edit button image file 'button_prev.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool |
| BUTTON_PREVIOUS_ALT | 'Previous' | Edit button names file button_names.php near line 82 in the directory includes\languages\english\YOUR_TEMPLATE. Note: This text will be visible when your hover over this button. |
| BUTTON_IMAGE_NEXT | Image:Button next.gif | Edit button image file 'button_next.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool |
| BUTTON_NEXT_ALT | 'Next' | Edit button names file button_names.php near line 81 in the directory includes\languages\english\YOUR_TEMPLATE. Note: This text will be visible when your hover over this button. |
| 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. |
| EZPAGES_DISABLE_HEADER_DISPLAY_LIST | Change this in ADMIN Configuration --> EZ-Pages Settings --> EZ-Pages Pages to disable headers. EZ-Pages "pages" on which to NOT display the normal "header" for your site. Simply list page ID numbers separated by commas with no spaces. Page ID numbers can be obtained from the EZ-Pages screen under Admin->Tools. ie: 1,5,2 or leave blank. | |
| EZPAGES_DISABLE_FOOTER_DISPLAY_LIST | Change this in ADMIN Configuration --> EZ-Pages Settings --> EZ-Pages Pages to disable footers. EZ-Pages "pages" on which to NOT display the normal "footer" for your site. Simply list page ID numbers separated by commas with no spaces. Page ID numbers can be obtained from the EZ-Pages screen under Admin->Tools. ie: 3,7 or leave blank. | |
| EZPAGES_DISABLE_LEFTCOLUMN_DISPLAY_LIST | Change this in ADMIN Configuration --> EZ-Pages Settings --> EZ-Pages Pages to disable left-column. EZ-Pages "pages" on which to NOT display the normal "left" column (of sideboxes) for your site. Simply list page ID numbers separated by commas with no spaces. Page ID numbers can be obtained from the EZ-Pages screen under Admin->Tools. ie: 21 or leave blank. | |
| EZPAGES_DISABLE_RIGHTCOLUMN_DISPLAY_LIST | Change this in ADMIN Configuration --> EZ-Pages Settings --> EZ-Pages Pages to disable right-column. EZ-Pages "pages" on which to NOT display the normal "right" column (of sideboxes) for your site. Simply list page ID numbers separated by commas with no spaces. Page ID numbers can be obtained from the EZ-Pages screen under Admin->Tools. ie: 3,82,13 or leave blank. |
NOTE: This table is made by looking for used defines in the following files:
- includes\modules\pages\page\header_php.php
- includes\templates\template_default\templates\tpl_page_default.php
Defines (configuration options) are defined in:
- configuration table in the database
- includes\languages\english\button_names.php
Product type configuration option are ignored Shipping, payment and Order Total module configuration option are also ignored
