Guest Posted August 16, 2006 Share Posted August 16, 2006 I have been installing quite a few contributions to my OsCommerce installation recently and I have noticed that the Category titles (the title at the top of the product list) are no longer appearing. When I view source on Mozilla this appears where the category title should be - <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"></td> </tr> And when I edit index.php in notepad the following code is there - <?php echo HEADING_TITLE; ?> Which I believe is the correct code. Which file is the category title pulled from the database so I can check if the code is correct? Any other suggestions? Link to comment Share on other sites More sharing options...
Micke Posted August 16, 2006 Share Posted August 16, 2006 Hi Sam This chunk of code can look different depending on what contributions you have installed. I think it's: <td class="pageHeading"><?php// echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php// echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> ...in the stock osC install. If you have installed a header tags contrib it's: <td><h1><?php echo $category['categories_htc_title_tag']; ?></h1></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> <?php if (tep_not_null($category['categories_htc_description'])) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><h2><?php echo $category['categories_htc_description']; ?></h2></td> </tr> <?php } ?> //Micke Link to comment Share on other sites More sharing options...
Guest Posted August 16, 2006 Share Posted August 16, 2006 That still didn't work, thanks anyway. I managed to get it working using this contribution http://www.oscommerce.com/community/contributions,1954 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.