ugh Posted January 23, 2006 Posted January 23, 2006 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!
draxion Posted January 23, 2006 Posted January 23, 2006 you need to provide more details... what kind of page do you want to add? where? etc.
ugh Posted January 23, 2006 Author Posted January 23, 2006 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.
draxion Posted January 23, 2006 Posted January 23, 2006 what's the erro message you get? do you have a link?
ugh Posted January 23, 2006 Author Posted January 23, 2006 what's the erro message you get? do you have a link? https://srs40.hostproserver.com/~i9storka/o...talog/index.php If you go to the bottom of the page and click "links", that's where the error appears. I have uploaded links.php into catalog and english folders - same as shipping. Not sure what I'm doing wrong.
knifeman Posted January 23, 2006 Posted January 23, 2006 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
ugh Posted January 24, 2006 Author Posted January 24, 2006 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.
knifeman Posted January 24, 2006 Posted January 24, 2006 *********************************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?
ugh Posted January 24, 2006 Author Posted January 24, 2006 Do you have a file named links.php in the includes/languages/english directory? yep...
bryanba Posted January 24, 2006 Posted January 24, 2006 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.
ugh Posted January 31, 2006 Author Posted January 31, 2006 Thanks everyone for all the help!! Unfortunately I have wasted your time b/c it was a typo...duh. You were all great though!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.