Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to display Category Banner?


OsWebDesign

Recommended Posts

Amend index.php and use $current_category_id

 

Covered in this forum and elsewhere (definitely on my own blog) many times.

 

I've found two or three things, but none of them are working. Here's the code I thought would work,

 

<td bgcolor="#fffffe"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
         <?php if ($cPath == "50") echo "<img src=\"http://www.yourtraileronline.com/images/thehogger.png\" title=\"HOGGER\" alt=\"HOGGER\" />"; ?>
         <tr>
           <td bgcolor="#fffffe"><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>

 

And it doesn't display anything... am I doing something wrong?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...