Julianna Posted February 20, 2005 Share Posted February 20, 2005 :'( I don't understand...I changed the heading title in the index.php of the english file but it is not showing. All I get when I go to the site is: HEADING_TITLE and not what I entered. And this is for the categories table and products table too! Example the products table on the main page is showing as TABLE_HEADING_NEW_PRODUCTS and not New products for February. And the table for the list of products is coming up as: TABLE_HEADING_IMAGE TABLE_HEADING_PRODUCTS+ TABLE_HEADING_PRICE TABLE_HEADING_BUY_NOW in the top bar of the table... Does anyone know why this is happening? Here is my site to see what I mean: http://bid4sales.com/scriptsnthings Here is my file of the index.php file if this helps: define('TEXT_MAIN', 'Welcome to Scripts N Things'); 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', 'What's New Here?'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?> What could possibly be wrong?? I can't understand. Everything looks right to me. What do you think? Please help. I need to get this store up asap. Thanks. Any help is very much appreciated..:-) Julianna Link to comment Share on other sites More sharing options...
Guest Posted February 20, 2005 Share Posted February 20, 2005 define('HEADING_TITLE', 'Let's See What We Have Here'); should be define('HEADING_TITLE', 'Let\'s See What We Have Here'); Link to comment Share on other sites More sharing options...
Guest Posted February 20, 2005 Share Posted February 20, 2005 There are other errors as well. If you have been using Admin's File Manager, then don't. There are bugs in the feature. Just upload new copys of the files that you edited and start from there. Link to comment Share on other sites More sharing options...
OceanRanch Posted February 20, 2005 Share Posted February 20, 2005 ditto above :-) Link to comment Share on other sites More sharing options...
Julianna Posted February 20, 2005 Author Share Posted February 20, 2005 Hi...Thanks for the info and the fast response! :-) Well, I think I'm going to have to redo that one page. And I did use my ftp to upload and make changes. I was also getting this error message at the top... Warning: Unterminated comment starting line 2 in /home/bid4sale/public_html/scriptsnthings/includes/languages/english/index.php on line 2 Would you know what this means? Also, can't I remove the whole thing in define(MAIN_TEXT , ('') ) and just leave the () so I can enter my own text? This is what I think happened. When I deleted all the oscommerse text to add mine in, it suddenly did not work...:-( Oh well..I'll see what happens when I start over with this page.. Thanks again. Julianna Link to comment Share on other sites More sharing options...
Guest Posted February 20, 2005 Share Posted February 20, 2005 Also take a look at Arnold once said example in http://uk2.php.net/types.string for further explainations. Link to comment Share on other sites More sharing options...
Julianna Posted February 20, 2005 Author Share Posted February 20, 2005 I got it! :-) It's now working again...whew! lol Thanks so much for all your help. This is a great forum! Julianna Link to comment Share on other sites More sharing options...
Guest Posted February 20, 2005 Share Posted February 20, 2005 Anytime Julianna. :thumbsup: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.