yrekcaz Posted December 3, 2006 Posted December 3, 2006 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
bill110 Posted December 4, 2006 Posted December 4, 2006 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
zdat Posted April 7, 2008 Posted April 7, 2008 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";
Recommended Posts
Archived
This topic is now archived and is closed to further replies.