Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Question2of2 - editing default pages


razeray

Recommended Posts

Posted

someone with lots of patience is required for this question so please don't bark at me about how n00bie i am.

 

i'm running oscommerce on an osX server and it's working just fine. and though i'm not new to sql or servers in general, i'm a bit new to php. Though i'm not looking for a crash course in php here, i am looking for a bit of support to get me to the place where i can edit some of the default pages and make the store fit my business.

 

for instance, as you know the first page of the site (default page before edited) starts like this:

 

====

What's New Here?

Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?

This is a default setup of the osCommerce project, products shown are for demonstrational purposes, any products purchased will not be delivered nor will the customer be billed. Any information seen on these products is to be treated as fictional.

Error Messages

If there are any error or warning messages shown above, please correct them first before proceeding.

Error messages are displayed at the very top of the page with a complete background color.

Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file...

====

 

ok - so now i want to dump all that text and put my own stuff in there, but for the life of me i can't figure out where that stuff is and when i open the pages in dreamweaver of course there's nothing there.

 

a friend of mine started to explain to me that a php page is essentially a page that calls other pages, and then those call other pages, etc..

 

if someone could be specific with me about where i can find that text and what the hierarchy was to get to that place where the text was stored (ie: where on the index.php page it got called from and any subsequent pages it calls specifically related to that text to make the text appear) i can probably pick it up from there.

 

as i stated, i realize this is simply a lack of understanding of how php works, but any help in understaniding how that initial page gets built and what gets called would be greatly appareciated and will teach me how to handle all the subsequent pages once i understand the first one.

 

thanks!

Posted

on that page it states exactly what needs to be changed, as well as the knowledge base.

 

just about all text will be changed in the languages/english look for a matching php program. else check the english.php file in languages.

 

go through the knowledge base and you will answer the majority of your questions.

Posted

you will find that most text is contained in the languages files i.e. catalog/includes/languages/englich.php and the files contained in the directory catalog/includes/languages/english/ for other languages look in the directory for the other language.

 

on your index page where the default text is it actually tells you which file to edit and how to edit it.

 

You can use dreamweaver with view set to code rather than wysiwig design.

 

There is a lot of advice in the knowledge base located here Knowledge Base

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Archived

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

×
×
  • Create New...