Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Add SiteLock Icon

Started by rick5150 on 28 Jan 2011, 11:15 AM · Views: 3,828

Results 1 to 11 of 11
28 Jan 2011, 11:15 AM
#1
rick5150 avatar

rick5150

Zen Follower

Join Date:
Dec 2010
Posts:
108
Plugin Contributions:
0

Add SiteLock Icon

I wanted to have the SiteLock Icon added to my Zen Cart at the bottom of the page under the copyright.

Where would I add this code?

<img border="0" src="//shield.sitelock.com/shield/mysitename.com" id="sl_shield_image" style="cursor: pointer;"/><script id="sl_shield" src="//shield.sitelock.com/sitelock.js" language="javascript"></script>

28 Jan 2011, 2:04 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Add SiteLock Icon

A copy for your template of tpl_footer.php

Zen-Venom Get Bitten

29 Jan 2011, 10:00 PM
#3
rick5150 avatar

rick5150

Zen Follower

Join Date:
Dec 2010
Posts:
108
Plugin Contributions:
0

Re: Add SiteLock Icon

Thank You!!

28 Apr 2011, 3:00 AM
#4
tony_r avatar

tony_r

New Zenner

Join Date:
Apr 2011
Posts:
7
Plugin Contributions:
0

Re: Add SiteLock Icon

I have copied the certificate code from my sitelock but do not understand where to put it-- or how. Does it have to uploaded to a url with ftp or simply pasted somewhere?

28 Apr 2011, 3:26 AM
#5
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Add SiteLock Icon

Well you could place the code in a blank sidebox on our site...

Or you could place it in the footer of your web site at the bottom.> includes/ templates/ your_template/ common/ tpl_footer.php

  1. at the bottom enter your code..
  1. Right after this code:
  1. <?php

} // flag_disable_footer
?>

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

30 Apr 2011, 1:35 AM
#6
tony_r avatar

tony_r

New Zenner

Join Date:
Apr 2011
Posts:
7
Plugin Contributions:
0

Re: Add SiteLock Icon

Thank you Haredo!! I have succesfully edited my very first file and it worked the first time! ( after i figured out how to use an ftp )

30 Apr 2011, 1:37 PM
#7
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Add SiteLock Icon

You are very welcome... Don't feel lost I am still learning too...

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

11 Nov 2011, 7:58 AM
#8
anne_badger avatar

anne_badger

New Zenner

Join Date:
Nov 2011
Posts:
4
Plugin Contributions:
0

Re: Add SiteLock Icon

haredo:

Well you could place the code in a blank sidebox on our site...

Or you could place it in the footer of your web site at the bottom.
[/LIST]

HELP! I tried the blank sidebox. I could get it to load and change the header title but can't get the code to work. The code is....

<a href="#" onclick="window.open('https://www.sitelock.com/verify.php?site=mywebsite.com','SiteLock','width=600,height=600,left=160,top=170');" ><img alt="website security" title="SiteLock" src="//shield.sitelock.com/shield/mywebsite.com"/></a>

Not sure where (file and line wise) to put it exactly and any help would be appreciated.

21 Aug 2012, 12:47 AM
#9
anne_badger avatar

anne_badger

New Zenner

Join Date:
Nov 2011
Posts:
4
Plugin Contributions:
0

Re: Add SiteLock Icon

Anne Badger:

HELP! I tried the blank sidebox. I could get it to load and change the header title but can't get the code to work. The code is....

<a href="#" onclick="window.open('https://www.sitelock.com/verify.php?site=mywebsite.com','SiteLock','width=600,height=600,left=160,top=170');" ><img alt="website security" title="SiteLock" src="//shield.sitelock.com/shield/mywebsite.com"/></a>

Not sure where (file and line wise) to put it exactly and any help would be appreciated.

Has anyone had success with this as I put it on hold seeing if someone had an answer?

30 Nov 2012, 3:50 AM
#10
timemoment_com avatar

timemoment_com

New Zenner

Join Date:
Nov 2012
Posts:
1
Plugin Contributions:
0

Re: Add SiteLock Icon

If you are using Picaflor Azul Zen Cart Design free zencart template,

open includes/templates/your custom template directory/common/tpl_footer_menu.php.

Find the following section codes:

<span id="social-media"> <a href="<?php echo TWITTER; ?>" target="_blank"><img src="includes/templates/all_business/im ages/twitter.png" class="twitter-image" alt="twitter link" /></a> <a href="<?php echo FACEBOOK; ?>" target="_blank"><img src="includes/templates/all_busin ess/images/facebook.png" class="facebook-image" alt="facebook link" /></a> </span>

Insert the sitelock code after the ...alt="facebook link" /></a> and before </span>
<a href="#" onclick="window.open('https://www.sitelock.com/verify.php?site=your site.com','SiteLock','width=600,height=600,left=160,top=170');" >
<img alt="website security" title="SiteLock" src="//shield.sitelock.com/shield/your site.com"/></a>

5 Jan 2013, 7:04 PM
#11
skullman avatar

skullman

New Zenner

Join Date:
Nov 2012
Posts:
33
Plugin Contributions:
0

Re: Add SiteLock Icon

I just added it to mine. Works very well.
https://www.haymanchopper.com