Guest Posted February 14, 2008 Posted February 14, 2008 Ok Basically i will add a box to the site and put it on one side. what i need to do that i am not sure of is adding a safebuy logo to it. Now i have the html code for the banner as it links to a certificate to show my site is secure. How do i implement that code into the infobox , this is the code below just so you know what code i am referring to <!-- SafeBuy Verification Seal --> <a href="http://www.safebuy.org.uk/certificate/6a171ad2-efcc-4bbb-b7b6-0c0f8e3ee118.html"><img src="/safebuy.jpg" border="0" /></a> <!-- / SafeBuy Verification Seal --> any help appreciated
luckyhuckster Posted February 14, 2008 Posted February 14, 2008 any help would be appreciated I've added a box with a link in it a few times. Here's the code I used for one of them. <?php /* $Id: acrobat.php,v 1.15 2003/06/09 22:10:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- acrobat //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => 'Compatibility'); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('align' => 'center', 'text' => 'Our PDF products require the use of Adobe Acrobat Reader. <br><br><a href="http://www.adobe.com/products/acrobat/readstep2.html"> <img border="0" src="images/Acrobat.gif" alt="Get Adobe Reader"></a><br><br>Download the latest version for best results.<br>'); new infoBox($info_box_contents); ?> </td> </tr> <!-- acrobat_eof //--> If you need instructions on how to make a new infobox, you can find them in the Knowledgebase. Hope that helps Simon
Guest Posted February 14, 2008 Posted February 14, 2008 not quite sure how t integrate the code into the box code as i have simply copied one of the other boxes
Guest Posted February 14, 2008 Posted February 14, 2008 WOULD THIS BE CORRECT TO ADD THE BOX WITH THIS LOGO CODE?? <?php /* $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- securepayment //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_SECUREPAYMENT); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => <!-- SafeBuy Verification Seal --> <a href="http://www.safebuy.org.uk/certificate/6a171ad2-efcc-4bbb-b7b6-0c0f8e3ee118.html"><img src="/safebuy.jpg" border="0" /></a> <!-- / SafeBuy Verification Seal --> '); new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //-->
Mav666 Posted February 14, 2008 Posted February 14, 2008 Looks like you are missing a ' after $info_box_contents[] = array('text' => Even at a Mensa convention someone is the dumbest person in the room.
Guest Posted February 14, 2008 Posted February 14, 2008 new infoBox($info_box_contents); ?> appears above the box and bx size goes wrong, any ideas
Mav666 Posted February 14, 2008 Posted February 14, 2008 Did you put the '? Even at a Mensa convention someone is the dumbest person in the room.
♥GLWalker Posted February 14, 2008 Posted February 14, 2008 any help would be appreciated Follow the community build: BS3 to osCommerce Responsive from the Get Go! Check out the new construction: Admin Gone to Total BS!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.