Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How can I change the default text in home page !


Guest

Recommended Posts

Hi there , can any one show me how to delete this text ?

 

Error Messages

 

If there are any error or warning messages shown above, please correct them first before proceeding.

 

Error messages are displayed at the very top of the page with a complete background color.

 

Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file.

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.

Securing The Administration Tool

 

It is important to secure the Administration Tool as there is currently no security implementation available.

Online Documentation

 

Online documentation can be read at the osCommerce Wiki Documentation Effort site.

 

Community support is available at the osCommerce Community Support Forums site.

 

 

I'm new to web design . Please help . thanks a lot .

Link to comment
Share on other sites

To delete and/or change the text on the index page open this file:

 

your store...../includes/languages/english/index.php

 

Look for this line:

 

define('TEXT_MAIN', 'This is a default setup of the osCommerce project...');

 

You then want to delete and/or replace this part in between the single quotes:

 

-----------This is a default setup of the osCommerce project-----------

 

HINT: you MUST leave the single quotes and the closing brackets and ; or you will get an error message.

 

What i did, since the text is HTML formated anyway, I copied the default text (everything in between the single quotes) and dumped it into the body of a blank html document, so i could see the page itself, and then proceeded to edit, add photos, etc from there. When I was done, I copy and pasted the HTML code back into the index doc between the double quotes and PRESTO!

 

You might have to play around with it a little to get it just right.

 

remember BACK UP! BACK UP! BACK UP!

 

Hope this helped I was newbie like yourself at one time :thumbsup:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...