- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
osCommerce. How to add a new page with the link in Information module
January 27, 2015
This tutorial will show you how to add a new page with the link in Information module.
osCommerce. How to add a new page with the link in Information moduleWe won’t create a new page from scratch. Let’s take a Shipping page as a base for our new page. Open osCommerce installation directory and locate shipping.php file.
Copy the file and rename it. For example, to feed.php.
Open includes/languages/your_language directory. Locate shipping.php file, copy it and rename to feed.php.
Open feed.php file and change its content:
define('NAVBAR_TITLE', 'Shipping & Returns'); define('HEADING_TITLE', 'Shipping & Returns'); define('TEXT_INFORMATION', 'Put here your Shipping & Returns information.');
Open includes folder and open filenames.php file. Add new line and define new filename as follows:
define('FILENAME_FEED', 'feed.php');
In the catalog/feed.php file replace FILENAME_SHIPPING with FILENAME_FEED.
In /includes/modules/boxes/bm_information.php look for:
and add the following coding:
'
- ' . tep_draw_box_list_top() . '' . MODULE_BOXES_INFORMATION_BOX_FEED . '' . tep_draw_box_list_bottom() . ' '.
Open includes/languages/english/modules/boxes/bm_information.php file and add the coding:
define('MODULE_BOXES_INFORMATION_BOX_FEED', 'Feed');
Click the Save Changes button in the upper right corner of the screen to activate it. And check the website to see changes.
Feel free to check the detailed video tutorial below:
osCommerce. How to add a new page with the link in Information module