Categories

osCommerce. How to add a new page with the link in Information module

Eva Fox January 27, 2015
Rating: 5.0/5. From 3 votes.
Please wait...

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 module
  1. We 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.

  2. Copy the file and rename it. For example, to feed.php.

  3. Open includes/languages/your_language directory. Locate shipping.php file, copy it and rename to feed.php.

  4. 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.');
  5. Open includes folder and open filenames.php file. Add new line and define new filename as follows:

    define('FILENAME_FEED', 'feed.php');
  6. In the catalog/feed.php file replace FILENAME_SHIPPING with FILENAME_FEED.

  7. In /includes/modules/boxes/bm_information.php look for:

    <ul class="information">

    and add the following coding:

    '    <li>' . tep_draw_box_list_top() . '<a href="' . tep_href_link(FILENAME_FEED) . '"><i class="icon-ok"></i>' . MODULE_BOXES_INFORMATION_BOX_FEED . '</a>' . tep_draw_box_list_bottom() . '</li>'.
  8. Open includes/languages/english/modules/boxes/bm_information.php file and add the coding:

    define('MODULE_BOXES_INFORMATION_BOX_FEED', 'Feed');
  9. 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
This entry was posted in OsCommerce Tutorials and tagged information, module, osCommerce, page. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket