bobg7 Posted December 20, 2004 Share Posted December 20, 2004 I looked around here for a quick and easy way to add an external link inside my Information Box and came up with this. It should work with any box also. 1 - Open /catalog/includes/boxes/information.php in you editor. 2 - Decide where you wish to add the link, just change whats in blue. Enter this: '<a href="http://linktofile" target="_blank" title="titleoflink">titleoflink</a><br>' . For it to open in it's own page Or this: '<a href="http://linktofile" title="titleoflink">titleoflink</a><br>' . For it to open in the same page. Here's how the code looks in mine: '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' .'<a href="http://www.grasshoppersgifts.com/cgi-bin/yabb/YaBB.cgi" target="_blank" title="Message Board">Message Board</a><br>' . '<a href="http://www.grasshoppersgifts.com/chat/index.php3" target="_blank" title="Chat Room">Chat Room</a><br>' . '<a href="' . tep_href_link(FILENAME_GV_FAQ, '', 'NONSSL') . '">' . BOX_INFORMATION_GV . '</a>');//ICW ORDER TOTAL CREDIT CLASS/GV new infoBox($info_box_contents); Check it out at My Webpage Bob G. Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going. Link to comment Share on other sites More sharing options...
ChrisW123 Posted December 28, 2004 Share Posted December 28, 2004 Why not just copy one of the existing lines, and then change the variables to your new item, and add those to configure.php and filenames.php? Would this work with what you are trying to do? Link to comment Share on other sites More sharing options...
bobg7 Posted December 30, 2004 Author Share Posted December 30, 2004 Why not just copy one of the existing lines, and then change the variables to your new item, and add those to configure.php and filenames.php? Would this work with what you are trying to do? <{POST_SNAPBACK}> Like the title says "SIMPLE". Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going. Link to comment Share on other sites More sharing options...
Yuck Posted January 29, 2005 Share Posted January 29, 2005 Thanks, very useful, and simple too! :thumbsup: Link to comment Share on other sites More sharing options...
iainshaw Posted February 4, 2005 Share Posted February 4, 2005 does it handle session IDs ok? Link to comment Share on other sites More sharing options...
Guest Posted September 1, 2008 Share Posted September 1, 2008 I know this thread is years old, but I thought I'd say thanks :) Link to comment Share on other sites More sharing options...
lovethelimelight Posted September 14, 2008 Share Posted September 14, 2008 Second the motion. Thank you for such a simple, direct way of fixing what was a major problem for me. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.