Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding an image before each category


msaunders

Recommended Posts

    if (tep_has_category_subcategories($counter)) {

     $categories_string .= '->';

}

 

 

->

 

->

 

that's what it is. just take that out and make it look like this

 

    if (tep_has_category_subcategories($counter)) {

     $categories_string .= '';

   }

 

that's what i did. go here, http://www.animeglore.com/test2/

 

you'll see they are off. also, you'll see that if you click on a catagory, the selected catagory turns black and gets big.

 

fiddle around a bit

Link to comment
Share on other sites

Hi guys

Try this:

 

includes/categories.php -> Line 20

    $categories_string .= '<img src="' . DIR_WS_IMAGES . 'image.gif"><a href="';

 

Change image.gif to your image name.

Image must be on images folder.

.:: Jonas ::.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...