♥Biancoblu Posted November 14, 2006 Share Posted November 14, 2006 I've been trying this for ages but to no avail. I realise it's a dumb question but being a novice at php and oscommerce, can please someone shed some light? I'd like to add a clickable image to one of my boxes but I never managed to make it work, so right now I have a normal image in its place. I want to add this code to my box: <!-- GeoTrust QuickSSL [tm] Smart Icon tag. Do not edit. --><script LANGUAGE="JavaScript" TYPE="text/javascript" SRC="//smarticon.geotrust.com/si.js"></SCRIPT> <!-- end GeoTrust Smart Icon tag --> I want to replace tep_image(DIR_WS_IMAGES . 'ssl_anim_01.gif' with the javascript code my box as it is now: <!-- secure_site //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_SECURE_SITE); new InformationBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('align' => 'center', 'text' => tep_image(DIR_WS_IMAGES . 'ssl_anim_01.gif')); new infoBox($info_box_contents); ?> </td> </tr> <!-- secure_site_eof //--> My Webpage Any help would be most appreciated. Thank you ~ Don't mistake my kindness for weakness ~ Link to comment Share on other sites More sharing options...
Daemonj Posted November 14, 2006 Share Posted November 14, 2006 You might want to take a look at http://www.oscommerce.com/community/contri...h,ssl+protected "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein Link to comment Share on other sites More sharing options...
♥Biancoblu Posted November 15, 2006 Author Share Posted November 15, 2006 Thanks for replying, I never imagined such a contrib existed.....but is that really the only way to add a seal? it seems very complicated. :o ~ Don't mistake my kindness for weakness ~ Link to comment Share on other sites More sharing options...
Daemonj Posted November 15, 2006 Share Posted November 15, 2006 Give it a try and I think you will find it is a *lot* easier than you are thinking. ;) "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein Link to comment Share on other sites More sharing options...
♥Biancoblu Posted November 16, 2006 Author Share Posted November 16, 2006 My problem with the contrib is that I already have a box where I want to put the seal, I don't want to add an extra box, and I also need to add another type of seal in that same box, how do I do that? Also, I have no clue how to "process the ssl provider.sql" file in the database, that's what they say in the install explanation but to me it's confusing....do I run a sql query with that statement? do I add those infos manually, in that case, where? Sorry but I don't understand. ~ Don't mistake my kindness for weakness ~ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.