osCommerce has several boxes that normally display "column_left" or "column_right". Editing the content of the Information box requires several steps.
1. Content of the information box list is controlled by:
/public_html/oscommerce/includes/languages/english/modules/boxes/bm_information.php
By default, it includes these lines to identify the box:
define('MODULE_BOXES_INFORMATION_TITLE', 'Information');
define('MODULE_BOXES_INFORMATION_DESCRIPTION', 'Show information page links');
define('MODULE_BOXES_INFORMATION_BOX_TITLE', 'Information');
and these lines as the content list for the box:
define('MODULE_BOXES_INFORMATION_BOX_PRIVACY', 'Privacy Notice');
define('MODULE_BOXES_INFORMATION_BOX_CONDITIONS', 'Conditions of Use');
define('MODULE_BOXES_INFORMATION_BOX_SHIPPING', 'Shipping & Returns');
define('MODULE_BOXES_INFORMATION_BOX_CONTACT', 'Contact Us');
2. To add an additional entry to the list, begin by adding a new define statement like this one for "About Us"
define('MODULE_BOXES_INFORMATION_BOX_ABOUT', 'About Us');
then save this file.
3. Content of the information box list is also controlled by:
/public_html/oscommerce/includes/modules/boxes/bm_information.php
So after the default entries:
' <a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . MODULE_BOXES_INFORMATION_BOX_SHIPPING . '</a><br />' .
' <a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . MODULE_BOXES_INFORMATION_BOX_PRIVACY . '</a><br />' .
' <a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . MODULE_BOXES_INFORMATION_BOX_CONDITIONS . '</a><br />' .
' <a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . MODULE_BOXES_INFORMATION_BOX_CONTACT . '</a><br />' .
Create a new entry like this:
' <a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . MODULE_BOXES_INFORMATION_BOX_ABOUT . '</a>' .
Note the addition of the line break on every line except the last one.
4. Create a php file for your new entry in the appropriate languages directory
/public_html/oscommerce/includes/languages/english/about_us.php
with the content needed to identify the html text you want to display from this internal program link.
/*
$Id$ /public_html/oscommerce/includes/languages/english/about_us.php
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2002 osCommerce
Released under the GNU General Public License
*/
define('NAVBAR_TITLE', 'About Us');
define('HEADING_TITLE', 'About Us');
define('TEXT_INFORMATION', file_get_contents('/your path/public_html/oscommerce/includes/languages/english/NER_Online_Enterprises_About_Us.html'));
?>
5. Create the html content file for your new link and your new link is complete.
/public_html/oscommerce/includes/languages/english/NER_Online_Enterprises_About_Us.html
"Content-Type" content="text/html; charset=ISO-8859-1" />
</span>About Us<span class="htmlTag" style="color: #000099; text-decoration: none; font-weight: normal; font-style: normal;" mce_style="color: #000099; text-decoration: none; font-weight: normal; font-style: normal;">
"generator" content="Amaya, see https://www.w3.org/Amaya/">
About "NER Galleria" href="../../../../../oscommerce">NER
Galleria.
We are the Online Catalog division of NER Online Enterprises, Inc. Our NER
Galleria team is dedicated to finding the kinds of unique products and brands
you are looking for. And we are continually updating our catalog contents based
on your suggestions and new products we find in the market. So your feedback is
important for our success. Let us know how we are doing through our "../../../../../oscommerce/contact_us.php">Contact Us link!
Our business model is based entirely on Open Source software and that comes
with some inherent limitations. We have, however, worked with our web hosting
design team at "https://benchmark-connections.com">Benchmark
Connections to make our implementation of the osCommerce platform to
be as intuitive as possible. And are adding tips and instructions to help you
as you click through the links to read about our products. Your recommendations
for any improvements are always welcome.
"text-align: center">"A shop we like." alt="Days of shopping joy." style="vertical-align: middle; margin: 5px; border: 2px solid black" src="../../../../../oscommerce/images/ner_online_enterprises_1.gif" height="180" width="450">
General Information:
- Please read our "../../../../../oscommerce/conditions.php">terms and "../../../../../oscommerce/privacy.php">policies so your
experience with us will be a pleasant one.
- Click on "../../../../../oscommerce/contact_us.php">Contact
Us for answers to specific questions.
- Click on "https://benchmark-connections.com">Benchmark Connections for more about our web hosting service provider.