banannaboat Posted February 16, 2007 Posted February 16, 2007 I've recently taken over a client website which has some text in the middle of the page just on the first page index. It consists of a welcome message and text such as "welcome guest" and "would you like to log-in" etc. I've been to the page editor and i can see a page called "home" but altering the text there does nothing so i guess some coding has been done elsewhere but I cant find it. I've looked in all the index pages but no luck yet. There is also a long pink bar accross the top of the page, it appears to be empty and I need to get an image in there. Can anyone help? the website is : www.geniuslearning.co.uk thanks
Bushmaster Posted February 17, 2007 Posted February 17, 2007 I've recently taken over a client website which has some text in the middle of the page just on the first page index. It consists of a welcome message and text such as "welcome guest" and "would you like to log-in" etc. I've been to the page editor and i can see a page called "home" but altering the text there does nothing so i guess some coding has been done elsewhere but I cant find it. I've looked in all the index pages but no luck yet. There is also a long pink bar accross the top of the page, it appears to be empty and I need to get an image in there. Can anyone help? the website is : www.geniuslearning.co.uk thanks Editing Page Texts The text shown here can be modified in the following file, on each language basis: [path to catalog]/includes/languages/english/index.php That file can be edited manually, or via the Administration Tool with the Languages->English->Define or Tools->File Manager modules. The text is set in the following manner: define('TEXT_MAIN', 'This is a default setup of the osCommerce project...'); The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist: define('TEXT_MAIN', ''); More information concerning the PHP define() function can be read here.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.