This article describes how to add a link to the Information sidebox that links to a new page in the defined pages section. You will be required to create files, modify files, and insert SQL code into the MySQL database.
In the instructions below yourpage or YOURPAGE is the title of the page you are adding. For instance if you wanted to add one called technology you would replace YOURPAGE and yourpage with technology and TECHNOLOGY. The actual file would be technology.php.
1. Modify File:
Modify the following file <zencart-root>/includes/filenames.php by adding the following two lines of code:
define('FILENAME_DEFINE_YOURPAGE', 'define_yourpage'); define('FILENAME_YOURPAGE', 'yourpage');
define('FILENAME_DEFINE_PRIVACY', 'define_privacy'); define('FILENAME_PRIVACY, 'privacy');
…respectively.Admin, define pages, ecommerce, mysql, osCommerce, PHP, sideBox, sql, template, tpl, ZenCart