Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

adding pages


Guest

Recommended Posts

Hi, I've searched the forums and have been unable to find the right answer.

 

Can someone please tell me how to add informational pages under the information box? Preferably the easy way, if possible.

 

Any help is appreciated.

 

Thanks! :D

Link to comment
Share on other sites

Hi, I've searched the forums and have been unable to find the right answer.

 

Can someone please tell me how to add informational pages under the information box? Preferably the easy way, if possible.

 

Any help is appreciated.

 

Thanks! :D

This works!!!!

 

http://www.oscommerce.com/forums/index.php?showtopic=32729

Link to comment
Share on other sites

OK, Well this works,(well it shows up in the info box) except.

 

Where in application_top do you put this line?

 

Also the new file needs to go in includes/filenames

 

QUOTE

Please back up your existing files first

 

1. Rename the enclosed page (catalog/new_page.php) to whatever you need e.g foobar.php. Open it and change the 2 occurances of FILENAME_NEW_PAGE to match your chosen page name e.g FILENAME_FOOBAR. Upload to your catalog/ directory

 

2. Rename the enclosed new_page.php in catalog/includes/languages/english/

to your new name e.g foobar.php (Dont forget to add your contents!) Now upload to your server into catalog/includes/languages/english/

 

3. add to application_top.php the following

 

Define('FILENAME_FOOBAR', 'foobar.php');

 

Changing 'foobar' for your own chosen name of course!

4. in catalog/includes/boxes

 

add to information.php (or whichever box you want the new link to go into)a new line

 

'<a href=\"' . tep_href_link(FILENAME_FOOBAR, '', 'NONSSL') . '\">' . BOX_INFORMATION_FOOBAR . '</a><br>' .

 

5. In catalog/includes/languages/english.php add new line

 

define('BOX_INFORMATION_FOOBAR', 'Foobar');

 

Again, change foobar to your own name.

 

Your done.

 

 

 

Can someone please tell me? :(

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...