Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding A page


jerry1962

Recommended Posts

Hey yall

Followed Instructions to the letter but if you go here and click on the link i get this My link

I use this page to test the stuff im adding to the site and to play with code before uploading to the main site

I want to add pages as i grow on the proper maintenance of cretin items and such.

Thanks for you help Check out privacy and cool stuff

 

Jerry

 

1. /yourdomain.com/catalog/includes/modules/boxes/bm_information.php

Copy the line - ' <a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . MODULE_BOXES_INFORMATION_BOX_PRIVACY . '[/url]

' .

Insert and change the words privacy to your text

Save edited bm_information.php in original place

 

2. /yourdomain.com/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 in original place

 

3. /yourdomain.com/catalog/includes/filenames.php

Copy the line - define('FILENAME_PRIVACY', 'privacy.php');

Insert and change the words privacy to your tex

save edited filenames.php in original place

 

4. /yourdomain.com/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. /yourdomain.com/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 whatever txt you named your other privacy.php to

 

Put new file in the same folder as original privacy.php, /yourdomain.com/catalog/includes/languages/english/whatever-you-named-your-other-file-too.php

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...