Guest Posted February 19, 2008 Posted February 19, 2008 Where can I change the "see more" arrow (e.g. in the "Specials" box) to add text. What I'd like is something like: see more --> Thanks! Quote
germ Posted February 19, 2008 Posted February 19, 2008 In your /catalog/includes/languages/english.php find this line: define('ICON_ARROW_RIGHT', 'more'); Change to: define('ICON_ARROW_RIGHT', 'see more -->'); NOTE: THIS WILL CHANGE THE BALLOON TEXT FOR THE RIGHT ARROW FOR ALL BOXES ON YOUR SITE. Quote 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 >
Guest Posted February 19, 2008 Posted February 19, 2008 Thank you, that's almost got it. I want to have text with the arrow in the box as well. Is that possible? Quote
germ Posted February 19, 2008 Posted February 19, 2008 It might not look good, depending on how wide your boxes are, but here's the place to add the text: In /catalog/includes/classes/boxes.php Find this code: 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 = ''; Alter to something like this: if ($right_arrow == true) { $right_arrow = '<a href="' . $right_arrow . '">see more -->' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>'; } else { $right_arrow = ''; Quote 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 >
Guest Posted February 20, 2008 Posted February 20, 2008 It might not look good, depending on how wide your boxes are, but here's the place to add the text: In /catalog/includes/classes/boxes.php Find this code: 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 = ''; Alter to something like this: if ($right_arrow == true) { $right_arrow = '<a href="' . $right_arrow . '">see more -->' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>'; } else { $right_arrow = ''; Thanks - Worked great! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.