Jump to content

[tutorial] google +1 button integration


Recommended Posts

I'm french.. sorry for my english ;-P


Here is how to integrate google+1 button on the product pages (under the product image).

1 - In "header.tpl" insert the following code between { $ HOOK_HEADER} and "</ head>"


  s-cript>


Important: remove the - to "s-cript "

2 - In "product.tpl" insert the following code between "

  • " and {if $HOOK_EXTRA_LEFT}{$HOOK_EXTRA_LEFT}{/if} :






Here is a screenshot of the result.

46910_A9Ygkbv7yPWlEAUBTxBN_t

Link to comment
Share on other sites

Thank's for this, but a problem in 1.3.1.1, the product page come in 15 sec and the image +1 don't display.

i remove the '-' to th line in header.tpl

have you un idea ?

in french :
merci pour ta contribution. le seul problème c'est que le bouton ne s'affiche pas et la page produit met 15 seconde pour s’afficher.

Aurais-tu une idée ?

merci
Patrick

Link to comment
Share on other sites

  • 3 weeks later...

Hi,
it works for me too. But actually I failed to change the language of this entry. I tried this one (like google gave), but it just screws everything:

 {lang: 'lt'}  


I removed the "-" in "script".

Can someone help me with the language?

Thanks!

Link to comment
Share on other sites

  • 2 weeks later...

The language also doesn't work for me.

Without selecting a language, works fine. But if I put the script with language in footer, half a site disappears. If I put the script in header, the entire site disappears (show a blank page).

{lang: 'ro'}

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...