Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding a new page under Information Box


Guest

Recommended Posts

To add a new page to the information box:

 

#######BACKUP ### BACKUP ### BACKUP#######

 

Make a copy of the file catalog/privacy.php rename the copy with your new name for example faq.php and place it in the same directory ( catalog/ ) Open the new file and edit it to change the word privacy to faq everywhere it occurs. DO NOT edit or delete the original file privacy.php

 

Repeat the above step for the privacy.php found in: catalog/includes/languages/english/ Make sure you change all occurances of the word privacy and alter the name of the gif which you want to diaplay in the right hand corner of the page. Within this file you can enter the name which you want to appear at the top of the page and you can enter the text for your new page - just replace the existing titles and wording for the privacy page (you can use html for the text to include links / logos etc). Again DO NOT remove or edit the existing file catalog/includes/languages/english/privacy.php simply make a new edited one with your new name.

 

Upload your new gif (for example tables_background_faq.gif) to the folder catalog/images

 

Open the following files and find all define statements that contain the word privacy, put a new line underneath with privacy changed to faq. DO NOT delete the existing privacy defines.

 

catalog/includes/filenames.php

 

catalog/includes/application_top.php

 

catalog/includes/languages/english.php

 

catalog/includes/boxes/information.php - here you define the actual name that will appear for your new box

 

That's It ;)

 

HTH

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...