Define pages are special pieces of content that appear above normal page content for certain pages. Unlike language strings, Define pages may be modified in the Admin. The Admin > Tools > Define Pages Editor help page lists the pages with define page content.
The phrase “Define Pages” can also be used to refer to the stand-alone pages whose content is created in the Define Pages Editor, and which are controlled using the Define Pages Status admin page.
The Define pages also come with a set of controls in admin, which are shown on Admin > Configuration > Define Pages Status. These controls allow you to determine whether the block of content created by the Define Pages editor is shown on the associated page, and whether links to the associated page will be created.
The setting Link ON means a link to the page will be created in any content block which is designed to link to this page. For example, setting Link ON for Define Page 2 means a link to
index.php?main_page=page_2will be created in the Responsive Classic Mobile Menu, the More Information Sidebox and the Site Map. Conversely, Link OFF means no such link will be created.
The setting Define Text ON means the text created in the Define Pages Editor will be displayed on the page in question. For example, setting Define Text ON for Define Main Page Status means the text created in
define_main_page.phpin the Define Pages Editor will be displayed on the home page. Conversely, Define Text OFF for this page means the text will not be displayed.
As noted above, Define Text ON always behaves the same way - it simply enables or disables the display of the block of text associated with it. Link ON is different: it controls the creation of links to the associated page. The interpretation of Link ON is done as follows:
|Status Flag Name
|Behavior if Link ON
|Define Main Page Status
|Define Contact Us Status
|Link to Contact Us page created in Site Map, Information Sidebox and Responsive Classic Mobile Menu
|Define Privacy Status
|Link to Privacy page created in Site Map and Responsive Classic Mobile Menu
|Define Shipping & Returns
|Link to Shipping Information page created in Site Map, Information Sidebox and Responsive Classic Mobile Menu
|Define Conditions of Use
|Link to Conditions of Use page created in Site Map, Information Sidebox and Responsive Classic Mobile Menu
|Define Checkout Success
|Define Discount Coupon
|Link to Discount Coupon page created in Information Sidebox and Responsive Classic Mobile Menu
|Define Site Map Status
|Link to Site Map created in Site Map, Information Sidebox and Responsive Classic Mobile Menu
|Define Page-Not-Found Status
|Define Page 2
|Link to Page 2 created in Site Map, More Information Sidebox and Responsive Classic Mobile Menu
|Define Page 3
|Link to Page 3 created in Site Map, More Information Sidebox and Responsive Classic Mobile Menu
|Define Page 4
|Link to Page 4 created in Site Map, More Information Sidebox and Responsive Classic Mobile Menu
Link ON is also interpreted by some popular plugins such as Flexible Footer.
The pages listed below are considered Define Pages, since their content is controlled using the Define Pages Editor.
index.php?main_page=about_us (1.5.8 and above)
index.php?main_page=accessibility (2.0.0 and above)
|Ask a Question
index.php?main_page=ask_a_question (1.5.7 and above)
|Conditions of Use
These pages have other content, and define page content is embedded along side that:
Some newer pages use the site specific overrides file for enabling/disabling links instead of Configuration > Define Pages:
- About Us
If your needs go beyond what is provided by the define pages, take a look at the FAQ on adding pages, which describes the use of EZ-Pages as well as using plugins to build custom pages for your Zen Cart installation.