After hours of digging, no thanks to the cryptic minimally helpful about_us module readme.txt, I managed to figure it out on my own how do do this. Here is the procedure for the rest of you guys that only get pointed to a module with no further help...
Adding a page to the information box
- Edit Catalog\includes\templates\mytemplate\modules\sideboxes\information.php
Add
$information[] = ‘<ahref="http://www.mydomain.com/catalog/index.php?main_page=chl">CHL</a>';
Above where it says:
if (DEFINE_SHIPPINGINFO_STATUS <= 1) {
$information[] = '<a href="' . zen_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a>';
For the sake of this discussion the added page will be called “CHL”
-
Edit includes\filenames.php and add
define('FILENAME_CHL', 'chl');
define('FILENAME_DEFINE_CHL', 'define_chl');
-
Go to includes\modules\pages and copy an existing folder like “conditions” and rename it to the page name, in this case “chl” would be the folder name
-
Open the header_php.php file in the chl folder and edit the line that says:
FILENAME_DEFINE_CONDITIONS (because we copied the “conditions’ folder) , replacing it with FILENAME_DEFINE_CHL
-
Copy some file like includes\templates\template_default\templates tpl_conditions_default rename it to tpl_chl_default.php
remove the if statements making the text look like this:
<div class="centerColumn" id="chl">
<h1 id="chlHeading"><?php echo HEADING_TITLE; ?></h1>
<div id="chlMainContent" class="content">
<?php
/**
* require the html_define for the shippinginfo page
*/
require($define_page);
?>
</div>
-
Move your tpl_chl_default to includes\templates\mytemplate\templates
-
Copy a file like includes\languages\english\html_includes\define_conditions.php to includes\languages\english\html_includes\mytemplate and rename it to define_chl.php
Edit text and html to your liking
- Copy a file like “conditions.php” to includes\languages\english\mytemplate and rename to chl.php. Edit the navbar and heading text to your liking
Done!!!