Guest Posted October 22, 2009 Posted October 22, 2009 I need a simple way to change the "Category" title over the sub categories that appear in or below the body of the page to change to the name of the selected category instead of saying "Category" every time. For instance if i am in the "printers" section I would like it to say "Printers" rather then "Categories". Im a noob and i havent slept for a week building my site, i need a little help here... thanks!!
hubcat Posted October 22, 2009 Posted October 22, 2009 Ok, you lost me. This should be automatic. Do you mean you want to dynamically change the category box header? Can you clarify the problem or add a link to a page where we can see what you're referring to? Adrienne
FIMBLE Posted October 22, 2009 Posted October 22, 2009 If its what i think you want to do ... catalog/includes/languages/english/index.php change define('HEADING_TITLE', 'Let\'s See What We Have Here'); to $category_name = (isset($HTTP_GET_VARS['manufacturers_id'])) ? $manufacturers['manufacturers_name'] : $categories['categories_name']; define('HEADING_TITLE', $category_name); Further down, change define('HEADING_TITLE', 'Categories'); to define('HEADING_TITLE', $categories['categories_name']); Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Recommended Posts
Archived
This topic is now archived and is closed to further replies.