Nathali Posted January 26, 2009 Share Posted January 26, 2009 Hi, I would like to get rid from the little arrow in "cart" infobox title in index.php and put instead my "cart" icon. Could someone please tell me what I should modify ?? Thanks for the attention & great day, Nathali Best Regards, Nathali Link to comment Share on other sites More sharing options...
germ Posted January 26, 2009 Share Posted January 26, 2009 The image is: http://www.yoursite.com/images/infobox/arrow_right.gif If you just put your image on the site in that folder, and name it that name, no other change is required. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Guest Posted January 26, 2009 Share Posted January 26, 2009 The image is: http://www.yoursite.com/images/infobox/arrow_right.gif If you just put your image on the site in that folder, and name it that name, no other change is required. Won't that change all boxes that use that icon? Link to comment Share on other sites More sharing options...
Guest Posted January 26, 2009 Share Posted January 26, 2009 There would have to be a change in the includes/classes/boxes.php file so that it would call a new icon name if the categories box was used. Somewhere around 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 = ''; You could have a play with that code, I don't know how to do it though. Link to comment Share on other sites More sharing options...
germ Posted January 26, 2009 Share Posted January 26, 2009 Won't that change all boxes that use that icon? Details.. Details... Always details!!! :lol: OK, so maybe my idea is not a good one, but I don't like trying to "fiddle" with the infobox routine either! :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Guest Posted January 26, 2009 Share Posted January 26, 2009 Page 36 of the manual states: Remove all left corner graphics and left spacing on all boxes except "what's new" box about line 121: Change: $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => $left_corner), array('params' => 'width="100%" height="14" class="infoBoxHeading"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading" nowrap', 'text' => $right_corner)); To: (This also removes the right arrows) $info_box_contents[] = array(array('params' => 'with="100%" height="14" class="infoBoxHeading"', 'text' => $contents[0]['text'])); To keep the right arrows exchange with this code: $info_box_contents[] = array(array('params' => 'width="100%" height="14" class="infoBoxHeading"', 'text' => $contents[0]['text']), array('params' => 'height="14" class="infoBoxHeading" nowrap', 'text' => $right_corner)); Link to comment Share on other sites More sharing options...
Nathali Posted January 27, 2009 Author Share Posted January 27, 2009 Hi, Thanks a lot Dear Jim, Leslie and Newtest for your kind replies ! actually, I don't mind that the arrow will stay to all of the other infoboxes.. But I do want to replace the arrow to cart image in the cart infobox. :rolleyes: Newtest's solution is not so clear to me, where I should change and what to solve it... Is there a quick solution for it or I would have to modify some files.. ? Thanks again Jim, Lesli and Newtest ! Great day ! Nathali Best Regards, Nathali Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.