Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help Me!!! TEXT_MAIN, its not in english/index.php


Guest

Recommended Posts

;) i've been seaching through the forum incase anyone else has had the same problem, but i cant find it, on the main page i got TEXT_MAIN underneath the bit thats asks you to login , found a few forum enteries telling me to check includes/languages/english/index.php , but its not in there so i added it, and and put summert in it, anf i still got text_main sat there , www.maxpowerpcs.co.uk/shop

 

please someone help me im getting desperate

 

Cheers

 

 

Simon

Link to comment
Share on other sites

Seems as if its been deleted from index.php, or you have it defined wrong in index.php (The one in your language files). I would replace it with a stock file.

Kenneth S

--------------

Customer "Are you a real programmer?"

Me "No, but I did stay at a Holiday Inn Express last night"

Link to comment
Share on other sites

ha ha :D cheers kennehs,

 

another little question where do you get a stock file from?

 

this is the file at the moe i added this in the middle and it didn't work

 

 

define('TEXT_MAIN', 'Thank You for choosing Maxpowerpcs for your computer hardware and software needs, if you need help you can always email assistance to [email protected]');

 

heres the file as it was

 

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

 

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

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

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

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', 'Let\'s See What We Have Here');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 \'');

define('TEXT_NOW', '\' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'Welcome to Maxpowerpcs');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

Link to comment
Share on other sites

ok everyone panic over, i downloaded a the whole program again found the file, and foung the bit that was missing,

 

thanks for ur help, i put it in the wrong place

 

keep up all the good work

 

:D :D :D :D :D :D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...