Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing Text from Main Page


Guest

Recommended Posts

Posted

Im sure this has been asked a million times. My brain cells just do not seem to grasp how to do this. I want to remove the following text below

 

 

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.

Online Documentation

 

Online documentation can be read at the osCommerce Knowledge Base site.

 

Support is available at the osCommerce Support Site.

 

 

I already know how to get to the proper place to do this (edit the text), I just don't understand what characters go where. Be gentle and explain in non technical terms as much as possible. Im a Nebie here any Help is much Appreciated. Thank You

Posted
... I already know how to get to the proper place to do this (edit the text), I just don't understand what characters go where. Be gentle and explain in non technical terms as much as possible. Im a Nebie here any Help is much Appreciated. Thank You

Are you referring to the html tags like these?

 

<br> are line breaks

<b></b> makes the text bold

Posted
Are you referring to the html tags like these?

 

<br> are line breaks

<b></b> makes the text bold

 

 

No I want to do the following.

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', '');

Posted

I don't understand the problem. You asked how to remove the text and then posted directions on how to do it. Are you asking how to download a file, use an editor or something similar?

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
I don't understand the problem. You asked how to remove the text and then posted directions on how to do it. Are you asking how to download a file, use an editor or something similar?

 

Jack

 

Sorry for the confusion. All I want to know is how do I remove the instructional Text from the Shopping cart main page, after installation of oscommerce.

Here is an example of what I want to remove.

 

(EXAMPLE-----> 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........................ETC ETC)

Posted
The text you previously posted says to edit define('TEXT_MAIN'... in the includes/languages/english/index.php file. That's what you need to do.

 

Jack

 

 

But that is the part I don't Understand. Once I get there ('TEXT_MAIN'... in the includes/languages/english/index.php file.) how do I do this.

I open the file then what do I do ???????

Posted

You are opening the file in a text editor aren't you?

 

If so ,move your cursor to the second capital T on the define line e.g. This

 

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

 

and press the delete key until the line looks like this

 

define('TEXT_MAIN', '');

 

Save the file and upload it to your site.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted
But that is the part I don't Understand. Once I get there ('TEXT_MAIN'... in the includes/languages/english/index.php file.) how do I do this.

I open the file then what do I do ???????

OK, that was the missing question. Geoffrey already explained the basic process. I would add that you need an ftp program and an editor, there are plenty of free ones of each). The procedure is to download the file to your computer using the ftp program, make the change using the editor and upload it again using the ftp program. There are other ways but I think this is the most common.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Archived

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

×
×
  • Create New...