ashinco Posted January 26, 2004 Share Posted January 26, 2004 Hi all!!! How do I administer my Information pages? You know, the ones that appear in the catalog as: Information Shipping & Returns Privacy Notice Conditions of Use Contact Us Gift Voucher FAQ I want to add information, and change information, even add a page or two. Thanks, Tom Ain' Life Grand! B) Link to comment Share on other sites More sharing options...
ozcsys Posted January 26, 2004 Share Posted January 26, 2004 Try going into your includes/languages/english/ folder and then making any changes in the file you want to change. For example if you want to make changes to your conditions of use page you would go in and make the changes to conditions.php and if you wanted to make changes to your privacy page you would make changes to your privacy.php file. Hope this helps. Richard The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right?? Link to comment Share on other sites More sharing options...
NGR Posted January 26, 2004 Share Posted January 26, 2004 Hiya, Im busy doing the exact same thing :huh: , what ozcsys says is right, go to the "includes/languages/english/" folder and you can add the text for shipping in the shipping.php file and the same for the rest! (So thats the editing text side solved) Thing is, same question as you! I want to change "shipping & returns" to just "shipping" and add a "warranties" link! Ive added a warranties.php(adapted from shipping.php) to the "includes/languages/english" folder, as well as one to the "/catalog" directory(also adaped from the shipping.php in the same catalog directory) - looks like the two link to each other - then went to "information.php" in the "/boxes" directory and added the link into that file! :blink: Now, thing is...and i dont know if what i did above was right - in my information box im getting "BOX_INFORMATION_WARRANTIES" <- when i click on it it takes me to a page not found! Is there somewhere where we are meant to define the filename? Im kinda new at this and still learning - just hope im on the right track! Any help would be appreciated sooooo much!!!! :D Link to comment Share on other sites More sharing options...
NGR Posted January 26, 2004 Share Posted January 26, 2004 Hey hey... Ok, looks like what i did above was right :D ...found out in the Wiki information (took me flippen FOREVER to find....) :angry: Anyways, thing is...to define the filename it says i must edit "filenames.php" in the "includes/" directory - thing is i dont have that file : *ANYWHERE* <- it must be somewhere else...anyone have any idea's! Im having nothing but hassles with this! THANKS GUYS Nick Link to comment Share on other sites More sharing options...
ashinco Posted January 26, 2004 Author Share Posted January 26, 2004 Try going into your includes/languages/english/ folder and then making any changes in the file you want to change. For example if you want to make changes to your conditions of use page you would go in and make the changes to conditions.php and if you wanted to make changes to your privacy page you would make changes to your privacy.php file. Hope this helps. Richard That really doesn't help me at all. I need to be able to ADD more info pages, not just manipulate the ones that are out-of-th-box. Isn't there a contribution that lets you do this without having to dig into any files?? Tom Link to comment Share on other sites More sharing options...
NGR Posted January 29, 2004 Share Posted January 29, 2004 Hey... Okay, had the exact same problem as u! Found some REALLY helpfull examples...looking for the link for u! h**p://wiki.oscommerce.com/docsCat Look under "Add box links" - step by step guide on how to do it! And, in that guide, dunno if u will have the same problem, but i dont have a "filenames.php", i ended up finding it in "application_top.php"... Anyways, if u have any probs let me know! I managed to add like another 4 links there... Good luck bro, Nick :rolleyes: Link to comment Share on other sites More sharing options...
elStinko Posted January 29, 2004 Share Posted January 29, 2004 There is a contribution for privacy and conditions already written that I found extremely helpful and time saving. conditions.privacy.zip LINK Link to comment Share on other sites More sharing options...
shooti4 Posted February 6, 2004 Share Posted February 6, 2004 I finally figured out how to modify this box, but made the mistake of getting fancy and screwing up the basic code. Don't make my mistake, always copy the code for any page you intend to manipulate and save it in notepad or somewhere in case you need to restore the box like you found it. Now, make sure you have the page you will want to add in osCommerce and in includes/language/english/yourfilename.php. Go to includes/language/english.php page and add "define" just like the others there. Go to includes/lang./english/application_top and add it there also. Go to osCommerce/includes/application_top and add it there. By the way, if you could copy the code found on oscommerce/includes/boxes/information.php and give it back to me, I will be able to fix my stupid parse error! Much appreciated. Hope this helps. Link to comment Share on other sites More sharing options...
shooti4 Posted February 6, 2004 Share Posted February 6, 2004 Oops, I need to change that last posting. Make that edit includes/language/english/filenames not includes/language/english/yourfilename.php. Sorry for any confusion. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.