Ausgirl Posted April 30, 2008 Posted April 30, 2008 Hello Ive done this before but just drawn a blank! :blush: How do I remove the little arrow next to the catagory that appears when you have subcatagories under the heading? Thanks
jefs.42 Posted April 30, 2008 Posted April 30, 2008 Edit includes/classes/boxes.php if ($right_arrow == true) { $right_arrow = '<a href="' . $right_arrow . '">' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>'; } else { $right_arrow = ''; } if just plain don't want them at all, change all of that to just $right_arrow = '';
FIMBLE Posted April 30, 2008 Posted April 30, 2008 probable the easiest way is to upload a transparent gif with the same file name Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Ausgirl Posted April 30, 2008 Author Posted April 30, 2008 This is the wrong arrow, I should explain myself a little better, In the catagory box you have your products: Product One Product Two Product Three ect... product Two may have sub catagories under it like Product Two A B C Because it has subcatagories, when looking at the catagory box it looks like this: Product One Product Two-> Product Three This is the arrow I wish to remove
jefs.42 Posted April 30, 2008 Posted April 30, 2008 ooops, read it too quick or something. what you're looking for there then is in includes/boxes/categories.php towards the top, should be these lines if (tep_has_category_subcategories($counter)) { $categories_string .= '->'; } just take all that out or just change the '->' to ''
Ausgirl Posted May 1, 2008 Author Posted May 1, 2008 Hi Jef I was comparing my files, its not how I did it last time but anyway, it did the trick! Thanks :thumbsup:
jefs.42 Posted May 1, 2008 Posted May 1, 2008 Yeah, that's the way I always do it as it's quick and simple and removes 'em period. The only other way I can think of, or if you wanted to leave the possibility of using the arrows in the future, would be to edit the file for the box and remove the link from the paramters passed to new infoBoxHeading()
Ausgirl Posted May 1, 2008 Author Posted May 1, 2008 Nah, its all good, that worked, its gone now. :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.