How to add a new Page to Oscommerce 2.3.3
March 15, 2013
1. catalog/includes/modules/boxes/bm_information.php
Copy the line -
' <a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . MODULE_BOXES_INFORMATION_BOX_PRIVACY . '</a><br />' .
Insert and change the words privacy to your text Save edited bm_information.php
2. catalog/includes/languages/english/modules/boxes/bm_information.php
Copy the line -
define('MODULE_BOXES_INFORMATION_BOX_PRIVACY', 'Privacy Notice');
Insert and change the words privacy to your text Save edited bm_information.php
3. catalog/includes/filenames.php
Copy the line -
define('FILENAME_PRIVACY', 'privacy.php');
Insert and change the words privacy to your text save edited filenames.php
4. catalog/privacy.php
change the words Privacy Notice to your text -
require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRIVACY); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_PRIVACY));
Save file as what-ever-your-txt-name-is.php and load it the same place as the privacy.php was...
5. catalog/includes/languages/english/privacy.php
Change the words Privacy Notice to your text -
define('NAVBAR_TITLE', 'Privacy Notice'); define('HEADING_TITLE', 'Privacy Notice');
Edit line -
define('TEXT_INFORMATION', 'Put your text here.');
Rename file to what ever txt you named your other privacy.php to
Put new file in the same folder as orginal privacy.php, catalog/includes/languages/english/whatever-you-named-your-other-file-too.php
Now, test your page.
Thanks.
Genrerating Link.... 15 seconds.
Your Link is Ready.