Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help on the Index Page


manndave

Recommended Posts

I am new at this stuff. I am trying to edit my index.php file and it is turning out to be frustrating and tedious.

 

I have successfully installed STS. Where can I edit the text for the index page? Using STS I can see a tag called $content which seems to control the display of text and other items on the index.php page.

 

Is there an easy way to edit the contents of the $contents tag? If so, what directory/file would contain that information.

 

Also downloaded, the includes/language/english/index.php to FrontPage html editor and can't get into the visual mode.

 

Can't seem to figure out the relationships between the several index.php files. I feel I am getting close to understanding this but needs some help. Thanks.

 

David

David

Waco, TX

Home of the Fighting Baylor Bears

Link to comment
Share on other sites

I am new at this stuff. I am trying to edit my index.php file and it is turning out to be frustrating and tedious.

 

I have successfully installed STS. Where can I edit the text for the index page? Using STS I can see a tag called $content which seems to control the display of text and other items on the index.php page.

 

Is there an easy way to edit the contents of the $contents tag? If so, what directory/file would contain that information.

 

Also downloaded, the includes/language/english/index.php to FrontPage html editor and can't get into the visual mode.

 

Can't seem to figure out the relationships between the several index.php files. I feel I am getting close to understanding this but needs some help. Thanks.

 

David

 

Ok. Found the file where the $content placeholder is suppose to reside, but the file is not in the folder. I know this sounds dumb. I checked the original files from the installation and the file is not there either. So, where does $content reside. I just need to put some fricking text in my index file and get rid of the default oscommerce content. Need help. Thank you very much.

David

Waco, TX

Home of the Fighting Baylor Bears

Link to comment
Share on other sites

Hi David,

The best way to edit any of the pages is to know HTML well. If you do, then go into each page you want to change, look for the HTML section and change that. Be careful to keep the php formating intact!

 

Another tip (I read this here on the forum which helped me greatly):

1. All the php files in your main directory control how the pages display.

2. All the php file in the includes/ directory have the specific files with your site's information.

 

Other main files to edit besides the stylesheet:

1. index.php in the main directory

2. in the includes/ directory:

english.php

index.php

 

Good Luck!

Maria Vargas

 

 

 

Ok. Found the file where the $content placeholder is suppose to reside, but the file is not in the folder. I know this sounds dumb. I checked the original files from the installation and the file is not there either. So, where does $content reside. I just need to put some fricking text in my index file and get rid of the default oscommerce content. Need help. Thank you very much.
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...