djlr2000 Posted February 27, 2005 Share Posted February 27, 2005 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 More sharing options...
Wendy James Posted February 27, 2005 Share Posted February 27, 2005 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 More sharing options...
OceanRanch Posted February 27, 2005 Share Posted February 27, 2005 And...don't use the osCommerce file manager editor. It has a bug that causes the escape character \ to be removed. Start with a fresh copy of index.php on your PC, edit locally, then ftp back to your site. Tom Link to comment Share on other sites More sharing options...
djlr2000 Posted February 27, 2005 Author Share Posted February 27, 2005 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.