Guest Posted January 6, 2005 Posted January 6, 2005 I have the category descriptions contribution installed which puts the category name and description at the top of the page in each category. BUT for some reason the category name is not displayed at the top of the page when I click on a category and it go's to the product listing page. What do I need to add to my product_listing.php to get the category title to display in the top left opposite the category image in the top right. Any help would be much appreciated. Thank you in advance for any help given. :rolleyes:
boxtel Posted January 6, 2005 Posted January 6, 2005 I have the category descriptions contribution installed which puts the category name and description at the top of the page in each category. BUT for some reason the category name is not displayed at the top of the page when I click on a category and it go's to the product listing page. What do I need to add to my product_listing.php to get the category title to display in the top left opposite the category image in the top right. Any help would be much appreciated. Thank you in advance for any help given. :rolleyes: <{POST_SNAPBACK}> that is not in the module product_listing.php, that module is included into index.php search index.php for that inclusion and you are at the section and I am sure you will find a HEADING reference. Treasurer MFC
Guest Posted January 6, 2005 Posted January 6, 2005 that is not in the module product_listing.php, that module is included into index.php search index.php for that inclusion and you are at the section and I am sure you will find a HEADING reference. <{POST_SNAPBACK}> Yeah, Duh silly me.... Ok what I've done is changed the catalog/includes/language/english/index.php file to read define('HEADING_TITLE', 'Items in '); And the catalog/index.php to have <td class="pageHeading"><?php echo HEADING_TITLE . '\'' . $tree[$current_category_id]['name'] . '\''; ?></td> in the 3 places it had echo HEADING_TITLE; Now when the products listed page is shown, at the top it reads, Items in 'whatever category' This is much much better now as I didn't like to use the breadcrumb trail :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.