Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Instructions on Errors Text removal


BiZ

Recommended Posts

Posted

I just installed the latest version of OsCommerce. When I first load the store, I got what seems like an instructional page. It gives information about how to fix Error Messsages, and Text Edits. I had 2 errors I needed to fix and I went ahead and fixed them. But the instructional page / information is still present. How do I remove this?

Posted
I just installed the latest version of OsCommerce. When I first load the store, I got what seems like an instructional page. It gives information about how to fix Error Messsages, and Text Edits. I had 2 errors I needed to fix and I went ahead and fixed them. But the instructional page / information is still present. How do I remove this?

The instructional page is your shops main page. Strangely, it gives instructions, but if you cannot undertand them, look at the second pinned post at the top of this forum.

Posted

There you go

 

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.

 

 

 

Don't edit the language files using the via the Administration Tool with the Languages->English->Define or Tools->File Manager modules as this can "break" the 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 ======>>>>>.

Archived

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

×
×
  • Create New...