Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Image in Infobox?


liebgott

Recommended Posts

Just finished setting up my SSL (too much work) and I want to put the my SSL pic onto my page on the right column. Any ideas how to make an infobox that contains a picture? I've been trying but have exhausted my knowledge.

 

Thanks,

 

TJ

Link to comment
Share on other sites

Three files. Onenew and Two to edit.

First the ssl box

<?php
/*
 $Id: SSL,v 1.0 2007/01/12 17:50hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2007 osCommerce

 Released under the GNU General Public License
*/
?>
<!-- ssl //-->
	  <tr>
		<td>
<?php
 $info_box_contents = array();
 $info_box_contents[] = array('text' => BOX_HEADING_SSL);

 new infoBoxHeading($info_box_contents, false, false);

 $info_box_contents = array();
 $info_box_contents[] = array('text' => 'Tex html that you should have gotten from the ssl goes here. Be sure to leave the beginning and ending single quotes.');

 new infoBox($info_box_contents);
?>
		</td>
	  </tr>
<!--issl_eof //-->

Save this as catalog/includes/boxes/ssl.php

catalog/includes/languages/english.php

anywhere before the final ?> add this

define('BOX_HEADING_SSL', 'Your box heading here');

catalog/includes/column_right.php

Add before the final ?>

require(DIR_WS_BOXES . 'ssl.php');

That should do it

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...