Thread: Google Plus 1

Page 1 of 3 123 LastLast
Results 1 to 10 of 30
  1. #1
    Join Date
    Sep 2009
    Posts
    19
    Plugin Contributions
    0

    Default Google Plus 1

    I want to add the Google plus 1 script to my site.

    It says to add the first part of the code to the head

    <script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>

    The second part of the code is to be added to the body.

    <g:plusone></g:plusone>

    Can you tell me how and where to add these codes in Zen Cart v1.3.9h

    Thank you.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Google Plus 1

    You should check that you can make this link https versus http to keep from receiving a warning if and when you use a SSL Certificate
    Code:
    <script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>
    Folloe the overrides system and place in a copy for your template of html_header.php
    The second part of the code is to be added to the body
    In a copy of tpl_main_page.php

    Alternates might be to tpl_footer.php
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2009
    Posts
    19
    Plugin Contributions
    0

    Default Re: Google Plus 1

    Thank you kobra.

    I don't have a html_header.php in my overrides. Do I just copy the html_header.php from includes/templates/template_default/ to my custom templates/common/ folder and then edit it?

    Also could I put the part of the code that goes in the body in a sidebox?

    Thank you for the tip on the https instead of http

  4. #4
    Join Date
    Sep 2009
    Posts
    19
    Plugin Contributions
    0

    Default Re: Google Plus 1

    Thanks Kobra.

    the google plus 1 in now on my site in a sidebox.

    Thank you for your help very much!

  5. #5
    Join Date
    Aug 2007
    Posts
    114
    Plugin Contributions
    0

    Default Re: Google Plus 1

    Hi guys,

    So is it ok to change the google url to https? Like you say it gives a warning otherwise.

    I can get the google plusone button to show in a side box on every page apart from my product pages, where it will not show.

    I am using the SEO URL module, could this be effecting it?

  6. #6
    Join Date
    Sep 2009
    Posts
    19
    Plugin Contributions
    0

    Default Re: Google Plus 1

    Quote Originally Posted by phil99 View Post
    Hi guys,

    So is it ok to change the google url to https? Like you say it gives a warning otherwise.

    I can get the google plusone button to show in a side box on every page apart from my product pages, where it will not show.

    I am using the SEO URL module, could this be effecting it?
    The https is correct. I did a test order and I've had about 4 or 5 additional orders and no warnings have been given.

    Sorry I can't hlep you with the SEO URL mod as I've never used it.

  7. #7
    Join Date
    Aug 2007
    Posts
    114
    Plugin Contributions
    0

    Default Re: Google Plus 1

    Hi there,

    thanks,

    Yes I am using the Ultimate SEO URLs mod, and the plusone box works everywhere except my product pages.... I have tried adding the href attribute to the plusone link but they just wont show....

    Any ideas would be appreciated!

  8. #8
    Join Date
    Aug 2007
    Posts
    114
    Plugin Contributions
    0

    Default Re: Google Plus 1

    If anyone is interested I have managed to find that it was the Zen Lightbox module I had installed. The javascript called in the header for the light box, stops the plusone button rendering....

    Any ideas why or how? I now have lightbox turned off, but I did like it and would like both.

  9. #9
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Google Plus 1

    Quote Originally Posted by phil99 View Post
    If anyone is interested I have managed to find that it was the Zen Lightbox module I had installed. The javascript called in the header for the light box, stops the plusone button rendering....

    Any ideas why or how? I now have lightbox turned off, but I did like it and would like both.
    This FAQ might help with with regards to positioning the script with other script on your site: http://code.google.com/apis/+1button/#faqs

  10. #10
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Google Plus 1

    Quote Originally Posted by rockmellon View Post
    Thanks Kobra.

    the google plus 1 in now on my site in a sidebox.

    Thank you for your help very much!
    Can you please post a url to your site or PM it to me. I want to see how this is working on your site. I was getting security warning on our site so I have temporarily disabled Google Plus 1.

    Thanks!

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Google Plus One Button from Numinix and Schema.org itemprops
    By phil99 in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 28 Feb 2013, 04:35 PM
  2. v150 Facebook google plus twitter
    By oitem in forum General Questions
    Replies: 0
    Last Post: 4 Jun 2012, 06:56 PM
  3. Replies: 0
    Last Post: 22 Dec 2011, 12:59 AM
  4. Same Line - google plus - ask q - share
    By dmagic in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 7 Aug 2011, 07:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR