propong Posted February 11, 2011 Share Posted February 11, 2011 Pretty much what the topic says. Heres an example: http://www.hqvaporizers.com/vaporizers-price-c-28.html Not sure how to change it so there is only 1 link for each sub category at the top of the page there. No idea why its two right now. Looks stupid. Thanks! While I have someone's attention, how do I make it so that the subcategories are visible under the main category on the nav bar on all pages? Right now I have to click on the category and be on the category page to see the sub categories in the nav bar but I'd like them to always be there. Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2011 Share Posted February 12, 2011 Those are not double links. The first one is suppose to be an image. No image exists so it is outputting the alt text. The second one is the actual text link. You can either add images for the subcategories or remove the call for the image. If removing the call for the image then find in catalog/index.php 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) . '<br />' . $categories['categories_name'] . '</a></td>' . "\n"; echo ' <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . $categories['categories_name'] . '</a></td>' . "\n"; Link to comment Share on other sites More sharing options...
Guest Posted February 16, 2011 Share Posted February 16, 2011 I have uploaded a contribution to control the display of these subcategory links. Install is quick and easy. All options are changed in the admin. Hope you find it useful. You can download it here. SubCategory Links Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.