Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Category Titles not appearing


Guest

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...