simpson7647 Posted October 22, 2010 Share Posted October 22, 2010 Hi all, ive just signed up for an SSL certificate which was accepted and followed instructions to get the badge.I filled it all in and got 2 sets of codes for the logo certificate, one which has to be pasted after the other:[removed]//<![CDATA[var tl_loc0=([removed].protocol == "https:")? "https://secure.comodo.net/trustlogo/javascript/trustlogo.js" :"http://www.trustlogo.com/trustlogo/javascript/trustlogo.js";[removed]ln('' + '<\/scr' + 'ipt>');//]]>[removed]and<!--TrustLogo Html Builder Code:Shows the logo at URL http://www.positivessl.com/images/seals/PositiveSSL_tl_white.gifLogo type is ("SC4")Not Floating//-->SSL[removed]TrustLogo("http://www.positivessl.com/images/seals/PositiveSSL_tl_white.gif", "SC4", "none");[removed]I was thinking of adding this where the Advertising block was as i removed the computer screen thing but how do i go about pasting this code, where abouts etc?I was thinking of simple having it on the bottom left which i believe is where the advertising block is.all help much appreciated,Many thanksRegardsryan Link to comment Share on other sites More sharing options...
rocky Posted October 23, 2010 Share Posted October 23, 2010 Put it in modules/blockadvertising/blockadvertising.tpl. You can replace what's already there, then add {literal} to the top and {/literal} to the bottom to make sure Smarty doesn't misinterpret any of the Javascript { } Link to comment Share on other sites More sharing options...
simpson7647 Posted October 23, 2010 Author Share Posted October 23, 2010 Thanks Rocky, what lines would i replace?And ill do that later after work,many thanksRyan Link to comment Share on other sites More sharing options...
simpson7647 Posted October 23, 2010 Author Share Posted October 23, 2010 o yeah i clicked https://and then my website and a little lock thing sppears in the corner with the lock saying about my certificate.problem is when you simple enter the website, this doesnt appear, and coming to my website from a search engine doesnt use the https://.Can this be helped?or do i just need to display the certificate?thanks Link to comment Share on other sites More sharing options...
rocky Posted October 23, 2010 Share Posted October 23, 2010 I think you should replace the whole file: <!-- MODULE Block advertising --> <!-- /MODULE Block advertising --> Link to comment Share on other sites More sharing options...
rocky Posted October 23, 2010 Share Posted October 23, 2010 Did you go to the Preferences tab and enable SSL? When you do that, https:// should automatically be added in front of contact-form.php, authentication.php, order.php and other pages that need to be secured. The homepage will still have http:// though, since there is no reason to encrypt it. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 23, 2010 Author Share Posted October 23, 2010 padklock and everything is all okay, im just trying to get the little certicatr and icon sorted but having no luck :/Ive been editing my blockadvertising.tpl trying to add the codes provided but nothing changes on the site :/please helpTheres two different codes, one called head tag and one called body tag, what does this mean and what do i want to do?thanks Link to comment Share on other sites More sharing options...
rocky Posted October 24, 2010 Share Posted October 24, 2010 I'd create a separate module that had two separate templates called modulename.tpl for the body content and modulename-header.tpl for the header content. If that's too difficult, you can edit header.tpl in your theme's directory and add the head tag code there. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 24, 2010 Author Share Posted October 24, 2010 thanks rocky, what part from header.tpl should i edit and add this code?thanks Link to comment Share on other sites More sharing options...
rocky Posted October 24, 2010 Share Posted October 24, 2010 Put it before the </head> line. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 24, 2010 Author Share Posted October 24, 2010 thanks rocky ill give it a go.Do you mean before both of these or just the head? {$HOOK_HEADER} </head>Above both or just head?thanks Link to comment Share on other sites More sharing options...
rocky Posted October 24, 2010 Share Posted October 24, 2010 Either will do. As long as it is listed along with the other Javascript and CSS links, it should work. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 24, 2010 Author Share Posted October 24, 2010 okay ill give it a go, cheers rocky.Where should it appear like this as i would like it to appear somewhere decent like on the left on every page if possible.thanks Link to comment Share on other sites More sharing options...
rocky Posted October 24, 2010 Share Posted October 24, 2010 Replacing the advertising code like I said before should work once the Javascript and CSS is included. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 24, 2010 Author Share Posted October 24, 2010 i pasted the second lot of codes underneath it as it said and the certificate has appeared at the very top.Although it says IdAuthority Credentials not available for this site:/thanks Link to comment Share on other sites More sharing options...
simpson7647 Posted October 24, 2010 Author Share Posted October 24, 2010 strange.. it works in the header but i did the same, copied both codes, into the blockadvertising but it doesnt work :/ Link to comment Share on other sites More sharing options...
simpson7647 Posted October 24, 2010 Author Share Posted October 24, 2010 I pasted exactly the same on advertising.tpl, with first code and then both but no luck :/ did exactly the same as when it worked in the head but no luck.Help pleasethanks Link to comment Share on other sites More sharing options...
rocky Posted October 25, 2010 Share Posted October 25, 2010 I'll need a link to your website to help any more. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 25, 2010 Author Share Posted October 25, 2010 okay rocky here,protectandenhance.co.ukthank you Link to comment Share on other sites More sharing options...
rocky Posted October 25, 2010 Share Posted October 25, 2010 The code looks fine to me. The script code is correctly being written, but I can't see anything being displayed. I can't see any code in the <head> tag related to the trusted logo. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 25, 2010 Author Share Posted October 25, 2010 I removed the head one as that displays okay and everything.I was trying to add it to the advertisingblock but doesnt seem to work :/thanks Link to comment Share on other sites More sharing options...
simpson7647 Posted October 25, 2010 Author Share Posted October 25, 2010 ive just re-added the headtag only to advertisingblock.What do you recon?thanksRyan Link to comment Share on other sites More sharing options...
rocky Posted October 25, 2010 Share Posted October 25, 2010 Can you provide a link to the trust code so I can check you've followed all the instructions? Link to comment Share on other sites More sharing options...
simpson7647 Posted October 25, 2010 Author Share Posted October 25, 2010 Heres the site, is this what you wanted or the links i pasted in?https://secure.hostgator.com/install-trustlogo.shtmlthanks Link to comment Share on other sites More sharing options...
rocky Posted October 26, 2010 Share Posted October 26, 2010 It looks like you have to upload your trust logo to a location on your server and then enter the URL in the code generator. Did you upload the trust logo somewhere on your server? Link to comment Share on other sites More sharing options...
simpson7647 Posted October 26, 2010 Author Share Posted October 26, 2010 hi rocky, currently no i haven't uploaded it on my server, where should i upload too? Link to comment Share on other sites More sharing options...
simpson7647 Posted October 26, 2010 Author Share Posted October 26, 2010 the thing is rocky i had the image on the header without doing that, i just folllowed the instructions given and then what you told me and it appeared on the header no problem, just cant get it into the advertisingblock.thanks Link to comment Share on other sites More sharing options...
rocky Posted October 26, 2010 Share Posted October 26, 2010 You can upload it anywhere. Perhaps the modules/blockadvertising would be best if you are putting the code there. Then you enter the image URL like http://www.domain.com/modules/blockadvertising/trustedlogo.jpg on that instructions page and give you script code to link to that image. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 26, 2010 Author Share Posted October 26, 2010 thanks for the reply rocky.So on the : Enter your graphic URL here. tab..I should upload the logo to my website, and then paste the link to where it is in that tab, follow the instructions.And then?Should i go to the advertisingblock, delete whats in there (might it be the picture) and paste the new code i get?? Link to comment Share on other sites More sharing options...
rocky Posted October 26, 2010 Share Posted October 26, 2010 You should enter the image URL, then copy Snippet #1 before the </head> tag and the Snippet #2 into modules/blockadvertising/blockadvertising.tpl. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 26, 2010 Author Share Posted October 26, 2010 thanks, my logo has been saved as a .GIFis that okay? Link to comment Share on other sites More sharing options...
rocky Posted October 26, 2010 Share Posted October 26, 2010 Sure, just use whichever format you received it in. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 26, 2010 Author Share Posted October 26, 2010 right, i uploaded to my server, put in the link to where my website has the picture, which displayd the logo to show its correct, i know hav the 2 different links. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 26, 2010 Author Share Posted October 26, 2010 You should enter the image URL, then copy Snippet #1 before the </head> tag and the Snippet #2 into modules/blockadvertising/blockadvertising.tpl. where is the \head bit you talk about?thanks Link to comment Share on other sites More sharing options...
rocky Posted October 26, 2010 Share Posted October 26, 2010 It's in header.tpl. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 26, 2010 Author Share Posted October 26, 2010 thanks for the reply rocky.sorry, where abouts is header.tpl?EDIT FOUND it Link to comment Share on other sites More sharing options...
simpson7647 Posted October 26, 2010 Author Share Posted October 26, 2010 its appeared anyway i can centre it a little more?and anyway to change this as when i hover over it, it sayscredentials not availble for this site or something :/thankYOU Link to comment Share on other sites More sharing options...
rocky Posted October 26, 2010 Share Posted October 26, 2010 You could put the followign line at the beginning of the advertising block code to centre it: and the following at the end: It would probably look better if you removed the following code too: <a href="http://www.instantssl.com" id="comodoTL">SSL I'm not sure why it says your SSL isn't verified. You'll have to ask your host about that. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 26, 2010 Author Share Posted October 26, 2010 thanks rocky, works great.okay ill contact my hostIs there anyway to put a line between the code and then what i have underneath?Just to make it look a little neater.thanks Link to comment Share on other sites More sharing options...
rocky Posted October 27, 2010 Share Posted October 27, 2010 Try the following: Link to comment Share on other sites More sharing options...
simpson7647 Posted October 27, 2010 Author Share Posted October 27, 2010 Thats just put a line in rocky.Any way to make like an enter spaceIconand then other stuff hereso its got the gap?thanks Link to comment Share on other sites More sharing options...
rocky Posted October 27, 2010 Share Posted October 27, 2010 Replace the first line of the advertising block. Basically, it adds a border as well as centreing the image. Link to comment Share on other sites More sharing options...
simpson7647 Posted October 28, 2010 Author Share Posted October 28, 2010 all its done rocky is add a black line below, not a space thingy.what do you recon?thanksanyway to make the line white/ see through instead of the black line Link to comment Share on other sites More sharing options...
rocky Posted October 28, 2010 Share Posted October 28, 2010 In that case, it would better to use padding instead: Link to comment Share on other sites More sharing options...
simpson7647 Posted October 28, 2010 Author Share Posted October 28, 2010 thank YOU rocky, thats great Link to comment Share on other sites More sharing options...
Recommended Posts