Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding pages


AndrewC

Recommended Posts

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

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

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

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

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

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

Archived

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

×
×
  • Create New...