megacool Posted January 22, 2004 Share Posted January 22, 2004 I know it was in the Wiki somewhere cuz I did use it to create a new page.. but I can't seem to find anymore. I tried the search on the forum but that didnt help either. Thanks for ur help. Link to comment Share on other sites More sharing options...
megacool Posted January 30, 2004 Author Share Posted January 30, 2004 Please help me :( Link to comment Share on other sites More sharing options...
Guest Posted January 30, 2004 Share Posted January 30, 2004 1) Copy an info page like shipping.php or something and rename it to whatever you want eg newpage.php 2) Then copy the corresponding language file and rename it likewise newpage.php 3) Within the first page, change all the references FILENAME_SHIPPING to FILENAME_NEWPAGE 4) Within the lamguage file, change the define('NAVBAR_TITLE', 'Shipping & Returns'); define('HEADING_TITLE', 'Shipping & Returns'); define('TEXT_INFORMATION', 'blah blah blah'); to whatever you want them to be 5) in application_top.php add define('FILENAME_NEWPAGE', 'newpage.php'); somewhere near all the other filename defines - doesn't really matter where. Go to www.yourdomain.com/catalog/newpage.php and there should be your new page. Link to comment Share on other sites More sharing options...
megacool Posted January 30, 2004 Author Share Posted January 30, 2004 Thank you Julie.. I luv u! :rolleyes: Link to comment Share on other sites More sharing options...
Guest Posted March 15, 2005 Share Posted March 15, 2005 1) Copy an info page like shipping.php or something and rename it to whatever you want eg newpage.php 2) Then copy the corresponding language file and rename it likewise newpage.php 3) Within the first page, change all the references FILENAME_SHIPPING to FILENAME_NEWPAGE 4) Within the lamguage file, change the define('NAVBAR_TITLE', 'Shipping & Returns'); define('HEADING_TITLE', 'Shipping & Returns'); define('TEXT_INFORMATION', 'blah blah blah'); to whatever you want them to be 5) in application_top.php add define('FILENAME_NEWPAGE', 'newpage.php'); somewhere near all the other filename defines - doesn't really matter where. Go to www.yourdomain.com/catalog/newpage.php and there should be your new page. <{POST_SNAPBACK}> It doesn't work, do u know why? Thanks in advanced. Fatal error: Cannot redeclare tep_db_connect() (previously declared in /hsphere/local/home/xcess.net/catalog/includes/functions/database.php:13) in /hsphere/local/home/xcess.net/catalog/includes/functions/database.php on line 13 Link to comment Share on other sites More sharing options...
Guest Posted March 15, 2005 Share Posted March 15, 2005 It doesn't work, do u know why? Thanks in advanced. Fatal error: Cannot redeclare tep_db_connect() (previously declared in /hsphere/local/home/xcess.net/catalog/includes/functions/database.php:13) in /hsphere/local/home/xcess.net/catalog/includes/functions/database.php on line 13 <{POST_SNAPBACK}> It works now. I omit the point no. 4 just now. Thanks JulieCSM. :) Link to comment Share on other sites More sharing options...
♥Vger Posted March 15, 2005 Share Posted March 15, 2005 5) in application_top.php add define('FILENAME_NEWPAGE', 'newpage.php'); somewhere near all the other filename defines - doesn't really matter where. Julie meant - add it to includes/filenames.php - not application_top.php Vger Link to comment Share on other sites More sharing options...
Guest Posted March 15, 2005 Share Posted March 15, 2005 Julie meant - add it to includes/filenames.php - not application_top.php Vger <{POST_SNAPBACK}> Yes - when I wrote that (way back in Jan 2004) I was talking about the MS1 version, which has since been replaced. Thanks Vger! Link to comment Share on other sites More sharing options...
Dustie Posted July 17, 2008 Share Posted July 17, 2008 HI, I have followed all the above instructions, but still the new page is not showing. Here is what I have done..... can anyone see a mistake there, and point me in the right direction. Thanks Copied and renamed "privacy.php" "links.php* changed all ref. from privacy -> links. Copied and renamed all language corresponding pages I have german , english and dutch. Making sure I renamed privacy -> to links as instructed in this post. IN includes/filenames.php I added define('FILENAME_LINKS', 'Links.php'); Nothing shows up at all :( I am using version 2.2 Thank you in advance for your help Ann Link to comment Share on other sites More sharing options...
Dustie Posted July 17, 2008 Share Posted July 17, 2008 HI, I have followed all the above instructions, but still the new page is not showing. Here is what I have done..... can anyone see a mistake there, and point me in the right direction. Thanks Copied and renamed "privacy.php" "links.php* changed all ref. from privacy -> links. Copied and renamed all language corresponding pages I have german , english and dutch. Making sure I renamed privacy -> to links as instructed in this post. IN includes/filenames.php I added define('FILENAME_LINKS', 'Links.php'); Nothing shows up at all :( I am using version 2.2 Thank you in advance for your help Ann Actually I see that if I put in www.mydomain/links it's opening the page, but how do I put it under *Information* where all the other pages show up?? Link to comment Share on other sites More sharing options...
Dustie Posted July 17, 2008 Share Posted July 17, 2008 never mind......figured it out myself. Just incase someone else is interested Had to add it in includes -> boxes -> information Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.