Guest Posted June 13, 2004 Share Posted June 13, 2004 I'm trying to figure out how to add a link to an infobox. Basically all I want to do is add a quick and dirty "About Us" link under terms & conditions in the "Information" infobox. Can someone point me in the right direction? I don't need hand-holding - just want a nudge in the right direction :) If there's a contrib that can address this I'd love a link, otherwise I'm happy to edit the files directly. Link to comment Share on other sites More sharing options...
Guest Posted June 13, 2004 Share Posted June 13, 2004 column left and also boxes Link to comment Share on other sites More sharing options...
Guest Posted June 13, 2004 Share Posted June 13, 2004 Ok clearly I'm in over my head, just looked at both the files mentioned and I figure I need to create an entry here in information.php: $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' . '<a href="' . tep_href_link(FILENAME_GV_FAQ, '', 'NONSSL') . '">' . BOX_INFORMATION_GV . '</a>');//ICW ORDER TOTAL CREDIT CLASS/GV presumably creating a new BOX_INFORMATION_BLAH. The question now if how do I create the reference to it in cloumn_left.php? Link to comment Share on other sites More sharing options...
Guest Posted June 13, 2004 Share Posted June 13, 2004 here is part of what it takes to display ebay on the column left (3) /catalog/includes/filenames.php FIND: define('FILENAME_CREATE_ACCOUNT_SUCCESS', 'create_account_success.php'); add this after it: ADD BELOW: // BEGIN ebay mod define('FILENAME_CURRENT_AUCTIONS', 'current_auctions.php'); // END ebay mod (5) /catalog/includes/languages/english.php FIND: // currencies box text in includes/boxes/currencies.php define('BOX_HEADING_CURRENCIES', 'Currencies'); ADD BELOW: // auctions box text in includes/boxes/current_auctions.php define('BOX_HEADING_CURRENT_AUCTIONS', 'Current Auctions'); define('BOX_INFORMATION_CURRENT_AUCTIONS', '<img src="images/ebay.gif" border="0" alt="View Current Auctions">'); (6) /catalog/includes/column_left.php FIND: require(DIR_WS_BOXES . 'search.php'); ADD BELOW: include(DIR_WS_BOXES . 'current_auctions.php'); so a few things to do Link to comment Share on other sites More sharing options...
Guest Posted June 13, 2004 Share Posted June 13, 2004 Ok, looks like I've found a way to weasel out of doing this the manly "edit the php way": http://www.oscommerce.com/community/contri.../search,infobox Looks like this contrib does everything I want, thanks for the pointers folks. Someday I'll learn php.... ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.