Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where to begin?


Guest

Recommended Posts

Posted

Well I'm a newbie here. This is an awesome product!

 

I have 10 years web development experience but none of it is PHP. So I have a lot of new concepts to learn.

 

I have OSC installed and running, and have manipulated the admin panel just fine and have started to change the content.

 

But I'm not really sure how to proceed with step two. I would like to manipulate the content of the main page next. Which file is this contained in? I have so far only found the header, footer, left and right columns (and the boxes that go with them).

 

Also, the HTML editor we use will allow me to change PHP code of course, but it doesn't display it to preview the layout. What are some of the apps people recommend for this?

 

Thanks in advance!

Posted

Regarding the where to go to change text, this can be found in

catalog/includes/languages/english/

 

The main body of the catalog page is located in index.php

 

You just need to make sure that you place all of your text and

html inside of the two appostrophes. Find this line in index.php

 

define('TEXT_MAIN', 'Your text and html goes here ');

Here's a tip: Any time you have an appostrophe in your text,

you must place a \ before it. So you'll needs to be you\'ll

It will show up properly on your website, but the language

needs the \ so it knows that the appostrophe isn't part of the

code.

Archived

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

×
×
  • Create New...