Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sub Categories


petro4

Recommended Posts

I have uploaded buttons instead of images for each subcategory heading and end up with a button with the text link underneath it on the categories page. I only want the button, is there a way to get rid of the text link.

 

 

Thanks

Peter

Link to comment
Share on other sites

Find the following line in index.php (around line 108):

 

      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 it 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) . '<br><br></a></td>' . "\n";

 

Matti

Link to comment
Share on other sites

Thanks very much matti !!!!!

 

PS i'm only a newbie, i want to incorporate 4 osc databases into 1 and the reply to forum inquiry was it can be easily done in phpmyadmin. Can you direct me to tutorial/info on how to actually acheive my goal.

 

Thanks

Peter

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...