Configuring OsCommerce - OsCommerce Edit Your Home PageThe header, the left and right columns and the footer are all separate files. The one we will look at is the one that displays the contents down the middle column of the home page.Step 1 In order to edit the home page contents we have to modify index.php inside the folder catalog\includes\languages\english.To modify the file we have to change the file attribute to 777 in order to convert it to writeable using FTP. Do the following procedure.. Select Catalog → Include →Language → English → index.php → Right click → select chmod → change to 777 → Save. Step 2 Then open Admin →select Languages → Details → index.php .It is necessary to edit this PHP script (index.php) to change the home page contents. Step 3 The Text_main variable contains the main contents. We have to delete the contents in it to change the home page.Be sure to leave the 2 single quotation marks. It is now inside these quotation marks you add your own contents and then save the file. For eg. you can enter define (\'text_main\',\'This is my home page\'); Now if you look at the result you can see the phase "This is my home page." on the home page. |