Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How To Edit Out The Subcategory Hyperlinks ?


yrekcaz

Recommended Posts

Posted

Hello,

 

I'm curious if anyone can help me edit out the hyperlinks in the subcategory page.

 

In otherwords, I only want the respective subcateogry images to appear.

 

Where is this code located? I've included an image.

 

Thanks in advance for any help you can provide.

 

Zack

 

osc.GIF

Posted

In catelog/index,php about line 103 find this code

	  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";

 

and edit to look like this

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

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

  • 1 year later...
Posted

See why it's incredibly helpful to post all tips? It remains helpful long after the fact, even 16 months later. I've been searching for an answer to this question for days, and I'm so very happy to have come across this posting. Thanks, bill, and also to the original poster!

 

 

 

 

In catelog/index,php about line 103 find this code

	  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";

 

and edit to look like this

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

Archived

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

×
×
  • Create New...