Floobynooby Posted December 23, 2011 Share Posted December 23, 2011 Hi Im trying to display a Globalsign Security seal in the site side column, have tried displaying it in the blockadvertising module, but had no luck as from what I understand embedding javascript in a .tpl file causes the smarty engine to strip out the java. Also tried the security seal module and addstuff modules but no luck with either of those. The code is: <span id="ss_img_wrapper_110-55_image_en"> <a href="http://www.globalsign.co.uk/" target="_blank" title="SSL Certificate"> <img alt="SSL" border=0 id="ss_img" src="http://seal.globalsign.com/SiteSeal/images/gs_noscript_110-55_en.gif"> </a> </span> <script type="text/javascript" src="http://seal.globalsign.com/SiteSeal/gs_image_110-55_en.js" defer></script> <img src="https://www.globalsign.net/evcert.cfm" width="1" height="1" border=0> tried adding: {literal} {/literal} before and after the script and also around the whole thing, but that also didn't seem to work either. Would be grateful if anyone knows of a solution to the problem, or something im overlooking / doing wrong with the {literal} tags to advise. Many Thanks. Link to comment Share on other sites More sharing options...
bellini13 Posted December 23, 2011 Share Posted December 23, 2011 you actually should be able to do exactly that, place your code in the blockadvertising .tpl file. I have embedded script tags within a template file before without an issue. If you like, I have created a very simple module that allows you to add any content to a left or right block. Just install the module, go into your backoffice and configure the module. From there you can enter the content you would like displayed. you can purchase the module for $5.00 here. http://www.bellini-s...ock-random.html Link to comment Share on other sites More sharing options...
Floobynooby Posted December 29, 2011 Author Share Posted December 29, 2011 Hi Bellini Many thanks purchased the module works perfectly. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now