Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Category Names as headline?!


schreibmawas

Recommended Posts

Hey.

 

When you choose a category in the shop it only appears the head-title with the category picture as the headline.

I want to have the category-name as the headline too.

The code is like the following

<tr>
<td class="pageHeading">**** HERE SHOULD BE THE CATEGORY'S NAME - HOW IS THE PHP-CODE PLEASE?! *****</td>
<td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
</tr>

 

Please help! It should be easy for you pros to tell a php-newbie this little code.

Link to comment
Share on other sites

I don't know who added that page to the knowledgebase. It's a way to do it, but not the easiest way. Why bother with another database call?

 

Easiest way: www.clubosc.com/lets-see-what-we-have-here.html

I used the method of adding to the breadcrumb class, but your way is pretty damn easy too.

 

Thanks posting your tips. I keep learning other way of doing things.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...