scooterbilt33 Posted December 21, 2005 Posted December 21, 2005 i followed a post through to eliminate my t string error on line 13 but now i get one on line 19 as follows any help would be appreciated thanks scott if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS
scooterbilt33 Posted December 22, 2005 Author Posted December 22, 2005 I have messed with it and now i am getting different lines have t_string errors. any help?? 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');
Kathryn Posted December 23, 2005 Posted December 23, 2005 define('HEADING_TITLE', 'Let's See What We Have Here'); define('HEADING_TITLE', 'Let\'s See What We Have Here'); Have a go with the backslash as above and see if this helps When apostrophes are used they are interpreted as part of the code, however when we don't want this to happen and we need to use an apostrophe within a text string we have to tell the code to ignore it by preceding it with a " \ "
♥Vger Posted December 23, 2005 Posted December 23, 2005 You have been using the osCommerce File Manager to edit files. Either use the updated MS2 (follow the "Latest News" link at the top of the forum homepage), or stop using the File Manager. Download the file to be edited via FTP, take a backup (just in case), edit the file using a plain text editor like Notepad, Text Pad or Crimson Editor. When you use apostrophies in text in a file at the level of includes/languages/yourlanguage/ then it must be escaped by a preceeding backslash, as in: Let's = wrong Let\'s = right You'll need to go through all of that file because the osCommerce File Manager will have removed all backslashes from in front of apostrophies used within text. Vger
scooterbilt33 Posted January 4, 2006 Author Posted January 4, 2006 worked perfect thanks so much scott
Recommended Posts
Archived
This topic is now archived and is closed to further replies.