Thread: Google Plus 1

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30
  1. #11
    Join Date
    Aug 2007
    Posts
    114
    Plugin Contributions
    0

    Default Re: Google Plus 1

    Google have updated and changed their code since releasing the button. They now suggest you must call https (this will stop your security warning) and also position the code no longer in the header but at the end of the body just before </body>

    The problem I have now is that the button only works when the pages are SSL... if the URL is https then the button works perfectly, otherwise if its http I get the red error button.

    Is the code in an SSL page different from a non? That would make the button work or not?

    I have spent 5 days on this now, just at a complete blank.

    My site is www.classicmoviestore.co.uk

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

    Default Re: Google Plus 1

    Well, this is exactly the issue, we were displaying the button on product page which is non-ssl but the button is being called from ssl page which is throwing errors. It will make sense if the page the button is on is ssl to call the script from https and if it's non-ssl to use the http. Really don't know what's the big deal while Google feels the need to call it from https when most site will probably display the Google Plus 1 button on non-ssl pages.

  3. #13
    Join Date
    Aug 2007
    Posts
    114
    Plugin Contributions
    0

    Default Re: Google Plus 1

    I am somewhat confused by 'calling the script from https'.

    Does that mean you can only put the button on https pages? Or you have to call/download the script from their https url?


    Im sure other websites have the plusone button on non secure pages?

  4. #14
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Google Plus 1

    If I were me, I'd give +1 a pass for a few more weeks while others work out the bugs and implications. I'm never an early adopter, and I think you're finding out why.

    Rob

  5. #15
    Join Date
    Aug 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Google Plus 1

    Hi Rockmellon

    I don't have a html_header.php in my overrides either.
    What should I do to put both parts of script in correct places ?

    regards

  6. #16
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Google Plus 1

    Quote Originally Posted by art75 View Post
    Hi Rockmellon

    I don't have a html_header.php in my overrides either.
    What should I do to put both parts of script in correct places ?

    regards
    You need to put the html_header.php file in your overrides folder - includes/templates/your_template/common. IF that's where you want to put the call script. I put it as the last entry of includes/templates/your_template/common/tpl_main_page.php. The reason I put it there rather than the header is because I have a couple other js calls in the header and the Plus One wasn't working.

    So, in summary. Put <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> in whichever file where it works. And, put the <glusone></glusone> button code where you want the button to appear. I have it on my index page at the bottom, and also on my product pages.

  7. #17
    Join Date
    Aug 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Google Plus 1

    Thanks very much
    Will try it soon.
    Artur

  8. #18
    Join Date
    Nov 2011
    Posts
    32
    Plugin Contributions
    3

    Default Re: Google Plus 1

    Please explore this contribution to see if it is useful.

    http://www.zen-cart.com/index.php?ma...oducts_id=2026

    Regards

  9. #19
    Join Date
    Aug 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Google Plus 1

    It works :)
    I finally put Google code in these files:

    located in: /includes/templates/---my template---/common

    1. tpl_main_page

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

    2. tpl_footer

    <glusone></glusone>

    Thanks again !
    Artur

  10. #20
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Google Plus 1

    So where in the html_header.php do I add the required script?

 

 
Page 2 of 3 FirstFirst 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

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