schreibmawas Posted September 22, 2010 Share Posted September 22, 2010 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 More sharing options...
Guest Posted September 22, 2010 Share Posted September 22, 2010 Have a look here. Display Category Name Link to comment Share on other sites More sharing options...
schreibmawas Posted September 23, 2010 Author Share Posted September 23, 2010 Have a look here. Display Category Name Perfect, thx, it can be that easy! Link to comment Share on other sites More sharing options...
burt Posted September 23, 2010 Share Posted September 23, 2010 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 Link to comment Share on other sites More sharing options...
Guest Posted September 23, 2010 Share Posted September 23, 2010 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.