sprinter_ Posted July 30, 2005 Share Posted July 30, 2005 Hi. Anyone knows how to remove the arrow after a category link that has a subcategory in the infobox? Link to comment Share on other sites More sharing options...
moonstone Posted July 30, 2005 Share Posted July 30, 2005 It's in the catalog\includes\boxes\categories.php, around lines 41-43 look for: if (tep_has_category_subcategories($counter)) { $categories_string .= '->'; } Either remove these three lines or comment them out will remove the arrow. Hope that helps... :blush: Link to comment Share on other sites More sharing options...
sprinter_ Posted July 31, 2005 Author Share Posted July 31, 2005 Thank you Patrick. In the category box, I would like to add the default small "arrow_green.gif" in front of each category link. Do you know where to add the image code in category.php? Link to comment Share on other sites More sharing options...
moonstone Posted August 2, 2005 Share Posted August 2, 2005 Try this: In catalog/includes/boxes/categories.php, around line 20 look for the following: $categories_string .= '<a href="'; To have the green arrow in front of evey category link, change it to: $categories_string .= tep_image(DIR_WS_IMAGES . 'arrow_green.gif') . '<a href="'; If you wish to have a space in between the arrow and the link, add in: $categories_string .= tep_image(DIR_WS_IMAGES . 'arrow_green.gif') . ' <a href="'; Let me know if that works for you... :P Link to comment Share on other sites More sharing options...
sprinter_ Posted August 2, 2005 Author Share Posted August 2, 2005 Thank you Patrick. It works well. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.