Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Category link problem


resze

Recommended Posts

Hello,

I've done images as a replacement for the text links for the subcategories. The problem is, I cant get rid of the text. To help you vision my problem I've taken a screenshot:

http://data.fuskbugg.se/skalman01/kategoriproblem.jpg

 

As you can see, i've marked the text links with a circle, just to make sure you fully understand that it's those textlinks I want to get rid of, and only use images instead.

 

Thanks in advance.

Best regards,

Marcus

Link to comment
Share on other sites

I'm assuming you added the images through the admin when you created your category and the text links you want removed are on your index page.

BACKUP FIRST

In catalog/index.php find around line 115

	  echo '				<td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br>' . $categories['categories_name'] . '</a></td>' . "\n";

Change to

	  echo '				<td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT)  . '</a></td>' . "\n";

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...