jhdesign Posted May 27, 2004 Share Posted May 27, 2004 There is a category description contribution out there. But I'd like to use it to show category description where the HEADING_TITLE shows "Lets see what we have here" Has anyone does something similar to this and can share the code or assist me? There is actually an older contribute for this, but some of the code it asks to modify is not to be found, it may be too old. Appreciated. Link to comment Share on other sites More sharing options...
241 Posted May 27, 2004 Share Posted May 27, 2004 Not sure if this is what you are after this places the categories as titles in catalog/includes/languages/english/index.php at the bottom is this code 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'); } change to 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['categories_name']); } and change if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { define('HEADING_TITLE', 'Let\'s See What We Have Here'); to this if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { define('HEADING_TITLE', $categories['categories_name']); No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
jhdesign Posted May 27, 2004 Author Share Posted May 27, 2004 Thank you. I used category description contribute along with your code and its fine now. Regards, jacob Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.