Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I add a new page?


ugh

Recommended Posts

Posted

I have been searching forums and contributions and I can't seem to find out how to add a new page. Any advice would be greatly appreciated!

Posted
you need to provide more details... what kind of page do you want to add? where? etc.

 

I want to add a Links page. Currently, I have my "info box" links ie, shipping, privacy and conditions at the bottom of the page. I have a place to click for Links but I copied the shipping.php and renamed it. when I click on links, I get an error message. So, I just want to add a simple information page with the same look as the others. Can you help? Thanks.

Posted
I have been searching forums and contributions and I can't seem to find out how to add a new page. Any advice would be greatly appreciated!

Check out this thread. It has a link to the knowledge base and info on adding new pages. There are several files that need to be modified.

add new page

Posted
Check out this thread. It has a link to the knowledge base and info on adding new pages. There are several files that need to be modified.

add new page

 

Thank you for the thread. I followed the instructions and I still get this error:

 

********************************

Warning: main(includes/languages/english/FILENAME_LINKS): failed to open stream: No such file or directory in /home/i9storka/public_html/osCommerce2/catalog/links.php on line 15

 

Warning: main(includes/languages/english/FILENAME_LINKS): failed to open stream: No such file or directory in /home/i9storka/public_html/osCommerce2/catalog/links.php on line 15

 

Fatal error: main(): Failed opening required 'includes/languages/english/FILENAME_LINKS' (include_path='.:/usr/local/lib/php') in /home/i9storka/public_html/osCommerce2/catalog/links.php on line 15

 

*********************************

and this is what line 15 in catalog/links.php says:

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LINKS);

 

 

 

Do you have any idea what I am missing? Thanks.

Posted
*********************************

and this is what line 15 in catalog/links.php says:

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LINKS);

Do you have any idea what I am missing? Thanks.

Do you have a file named links.php in the includes/languages/english directory?

Posted
Do you have a file named links.php in the includes/languages/english directory?

 

yep...

Posted

Did you add a link to the pagee in the information.php? That is really all you have to do.

 

Look at www.autoracingbooks.com/oscommerce/catalog.

 

I have removed the catagories box all together and used the information box to manage my links. The hardest oart to figure out is how and where to add all of the .phps you need to maintain all of the navigation and controls.

 

Let me know if this helps.

 

I can try to show you what I copied into the new page.

Posted

Thanks everyone for all the help!! Unfortunately I have wasted your time b/c it was a typo...duh. You were all great though!!

Archived

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

×
×
  • Create New...