Difference between revisions of "Page 4 page"

From Zen Cart(tm) Wiki
Jump to: navigation, search
m (Reverted edits by FchSoc (Talk); changed back to last version by Yboy)
Line 1: Line 1:
The '''Page_4 page''' is explained here.
 
  
 
 
 
 
== Configuration options ==
 
This table below shows most of the configuration options including language text for the ''Page_4 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 
 
|  'Page 4' 
 
| Edit language file<b> page_4.php</b> near line 24 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| DEFINE_PAGE_4_STATUS 
 
| 1 
 
| Change this in ADMIN<br /><b>Configuration --> Define Page Status --> [[Admin - Configuration - Define Page Status#Define Page 4|Define Page 4]].</b><br /><br />Enable the Defined Page 4 Link/Text?<br />0= Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF, Define Text OFF 
 
|-
 
| BUTTON_IMAGE_BACK 
 
| [[Image:button_back.gif]] 
 
| Edit button image file<b>  'button_back.gif'</b> in the directory ''includes\templates\YOUR_TEMPLATE\buttons\english\'' with a graphic tool 
 
|-
 
| BUTTON_BACK_ALT 
 
|  'Back' 
 
| Edit button names file<b> button_names.php</b> near line 67 in the directory ''includes\languages\english\YOUR_TEMPLATE''. <br />Note: This text will be visible when your hover over this button. 
 
|-
 
| NAVBAR_TITLE 
 
|  'Page 4' 
 
| Edit language file<b> page_4.php</b> near line 23 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| FILENAME_DEFINE_PAGE_4 
 
| <p><strong>Page 4 Sample Text ...</strong></p><br /><p>This section of text is from the Define Pages Editor located under Tools in the Admin.</p><br /><p>To remove this section of the text, delete it from the Define Pages Editor.</p> 
 
| Edit define page file<b> define_page_4</b> <br />(Tools --> [[Admin - Tools - Define Pages Editor|Define Pages Editor]]) 
 
|}
 
 
NOTE:
 
This table is made by looking for used defines in the following files:
 
* includes\modules\pages\page_4\header_php.php
 
* includes\templates\template_default\templates\tpl_page_4_default.php
 
Defines (configuration options) are defined in:
 
* configuration table in the database
 
* includes\filenames.php
 
* includes\languages\english\button_names.php
 
* includes\languages\english\page_4.php
 
Product type configuration option are ignored
 
Shipping, payment and Order Total module configuration option are also ignored
 

Revision as of 00:41, 5 December 2007