Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how can i change "Categories" into a jpg or gif


filmcell

Recommended Posts

Which version of osC are you using?

 

If 2.3.1

In catalog/includes/modules/boxes/bm_categories.php find

             '  <div class="ui-widget-header infoBoxHeading">' . MODULE_BOXES_CATEGORIES_BOX_TITLE . '</div>' .

Change to

             '  <div class="ui-widget-header infoBoxHeading">' . tep_image(DIR_WS_IMAGES . 'your_image_here', MODULE_BOXES_CATEGORIES_BOX_TITLE) . '</div>' .

If RC2 or lower

In catalog/includes/boxes/categories find

 $info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES);

Change to

 $info_box_contents[] = array('text' => tep_image(DIR_WS_IMAGES . 'your_image_here', BOX_HEADING_CATEGORIES));

Both assume the image is in images directory

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...