Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Editing the index page


djlr2000

Recommended Posts

I tried editing the index page so that instead of saying 'What's new here?' at the top of the page, it said 'welcome'. When i saved the page and typed in the web address, it came up with the following error:

 

Parse error: parse error, unexpected T_STRING in /filer/1/en-www/T7RKX4SVLJSFI7A8/www.lukerogers.co.uk/includes/languages/english/index.php on line 13

 

so i tried to change the code back to saying 'What's new here?' and now I still have the error message. :(

 

Can someone tell me how to change the 'HEADING_TITLE' without causing an error?

 

Thanks

 

Luke

Link to comment
Share on other sites

The majority of the text found on the site are located in the language files, for example...

catalog/includes/languages/

 

and there is an english.php in there with stuff you can change then inside there is a folder labeled "english" and you go in there and there are more files where you can edit text depending on what you want to change.

 

 

For the heading title if you are using english then you would go to

 

catalog/includes/languages/english/index.php

 

and look for

define('HEADING_TITLE', 'What\'s New Here?');

 

Change What\'s New Here? to whatever you want but remeber to put it between ' and ' and if you use a 's to put a / before it like shown above or it will mess up the code.

 

Hope that helps.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Thanks guys!!! Problem sorted, it was the built in php editor that was the problem, as soon as I used a editor on my computer and uploaded the index.php with all the '/' intact, the problem had gone.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...