Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

adding new pages to the catalogue


dumb_question

Recommended Posts

one of the easiest ways is to copy your catalog/privacy.php to catalog/NEW_FILENAME.php

&

catalog/includes/languages/english/privacy.php to catalog/includes/languages/english/NEW_FILENAME.php,

 

Then in catalog/includes/filenames.php add a new define for your new file - i.e:

 

define('FILENAME_NEW_FILENAME', 'NEW_FILENAME.php');

 

 

replacing all instances of NEW_FILENAME above with your required file name ofcourse....

 

 

or you could try one of the great contribs such as Tab Page Unlimited

Link to comment
Share on other sites

I tried that..but this is what I get

 

Warning: main(includes/languages/english/NEWFILENAME.php): failed to open stream: No such file or directory in /public_html/NEWFILENAME.php on line 15

 

Fatal error: main(): Failed opening required 'includes/languages/english/NEWFILENAME.php' (include_path='') in /public_html/NEWFILENAME.php on line 15..

 

Can you tell what went wrong? is there any limitation on the length of file name in oscommerce? the file name I am trying to use has 5 words!

 

oh..one more thing...I have BTS installed as well. Would that matter in amy way?

Thanks for your help

 

Dumb_Question

Link to comment
Share on other sites

Hi,

 

I don't know about BTS.

 

Those errors tell you that the file is not in the english folder and the catalog folder.

 

Did you use the shipping page in the english folder to save it as another name and the same in the catalog folder?

 

Also, you have to change the name at the top of each file.

Link to comment
Share on other sites

Hello...Lonnie...thanks for the tip.... I installed it and it is working...!!

 

I do need some help though. When I add a new page through this mod ...it comes up with its own name...now if i have to add a new page with a different name ...how do i do that.. right now...i am trying to add a new page " custumer_service" to header navigation ...how do I do that

your help is appreciated.

 

Thank you everyone for your help

Dumb!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...