trollboy Posted April 30, 2003 Posted April 30, 2003 For some reason, the text "New Products for April" got replaced with " TABLE_HEADING_NEW_PRODUCTS" out of the blue.. what did I do and how do I UNDO it?
orchard Posted April 30, 2003 Posted April 30, 2003 There should be define('TABLE_HEADING_NEW_PRODUCTS',....) somewhere in the source code. If it has been deleted you may need to download a new copy of the original code to search for where it belongs so you can put it back into your code. In PHP, a lot of the text is defined using these defines. If they are missing, it displays the name of the define since it has no text to display. This helps you know which define is missing. In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:
trollboy Posted April 30, 2003 Author Posted April 30, 2003 Yeah.. but this is everything... that's the thing.. I'll look over the code.. but I dunno. Thanks
sjhnjah Posted May 1, 2003 Posted May 1, 2003 Hi, Go to catalog/includes/languages/english/default.php at about line 15 and see if you have the line below, if not, add it or edit it to be just exactly as shown. This should fix the problem. define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); HTH Sarah A newbie who has learned just enough to be dangerous!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.