Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

TEXT_MAIN where is it stored


DJMark

Recommended Posts

Posted

TEXT_MAIN can someone tell me what fuile i will find this line in please as i want to delete it

You don't want to delete it. You just want to reduce it to an empty string.

 

/catalog/includes/languages/english/index.php

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Posted

You don't want to delete it. You just want to reduce it to an empty string.

 

/catalog/includes/languages/english.php

 

 

define('TEXT_MAIN');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

this is what ive done i take this must be wrong as im still getting a error

  • 4 weeks later...
Posted

define('TEXT_MAIN');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

this is what ive done i take this must be wrong as im still getting a error

 

This line from above:

define('TEXT_MAIN');

 

should be:

define('TEXT_MAIN', ''); //note that it is 2 single quotes, not 1 double quote

 

you need the '' at the end to contain your data for the variable, in this case it's blank.

For others who don't want it blank, try this:

define('TEXT_MAIN', 'This is where my data goes');

Archived

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

×
×
  • Create New...