AndrewC Posted March 2, 2004 Share Posted March 2, 2004 I am trying to add a couple of pages to my store. I managed it once but have completely forgotton what i did. Can some one give me a quick procedure/instruction on how to do this please. Thanks. Link to comment Share on other sites More sharing options...
sam6 Posted March 2, 2004 Share Posted March 2, 2004 Copy A page like information.php! Rename it to what ever you want ! go to catalog/includes/filename.php! insert the new file name like the rest of them are! change the content to what ever you want ! and then you can reffer to that page via link or what ever just reffer to the other osc pages and decide how to include it like the informatition box contains links to pages and most of the extra pages i create i reffer to somthin like they have in there ! you also recreate the page in language/english/! and when you change the content of your page you reffer there for the text! i think i am forgetting somthing Link to comment Share on other sites More sharing options...
sam6 Posted March 2, 2004 Share Posted March 2, 2004 oh ya in catalog includes lang english.php you have to do a define thing like they have it in there and then you add your link and all should work unless i fogot something again Link to comment Share on other sites More sharing options...
sam6 Posted March 2, 2004 Share Posted March 2, 2004 you change the content on the page you create in the language/english/whateveryoumade.php not in the catalog whateveryoumade.php Link to comment Share on other sites More sharing options...
sam6 Posted March 2, 2004 Share Posted March 2, 2004 if this is confusing sorry fou change the content like require_ws_language and bredcrumbs->add(navebar_title) and what ever elts you decide catalog/whateverpage.php and all other changes to your new page are made in the language page you made Link to comment Share on other sites More sharing options...
AndrewC Posted March 2, 2004 Author Share Posted March 2, 2004 I am getting this error. Fatal error: Failed opening required 'includes/languages/english/FILENAME_PRIZEDRAW' (include_path='.:/usr/share/pear') in /home/fitsmart/public_html/catalog/prizedraw.php on line 15 Link to comment Share on other sites More sharing options...
AndrewC Posted March 2, 2004 Author Share Posted March 2, 2004 I had to add a define in application_top.php too. Thats the missing link!! :D Thanks for your help sam ;) Link to comment Share on other sites More sharing options...
Chris Dunning Posted March 2, 2004 Share Posted March 2, 2004 It would be better to add that define in filenames.php - just to make it easier to find everything later. Chris Dunning osCommerce, Contributions Moderator Team Please do not send me PM! I do not read or answer these often. Use the email button instead! I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.