Forum:Google +1 button

I wish to add the Google +1 button to the sharing toolbar, I'm using this code.

but it creates two buttons, instead of just one... why? (I already added the javascripts needed for the button itself)
 * Hi, you'd need to use this code:

I know part of it does not appear in the code tags, it's supposed to be like that, but you can copy it from the source here. :) -- 20:23, July 15, 2012 (UTC)


 * Wait a moment, I have already added the script in my Common.js, and there are no issues in rendering the button, the problem is that I want to insert it in the Oasis sharing toolbar (since there are only twitter and facebook buttons). If I use the code I posted above, the button is rendered twice instead of just one.


 * To add the button to a page, you'd need to add the code to a MediaWiki page, for example MediaWiki:GooglePlus and then use verbatim tags to add it to a page. -- 20:35, July 15, 2012 (UTC)


 * No, you are misunderstand me. First, I have already added the script to my common.js, so wherever I add  or , the button is rendered. I suggest you to use this solution too, since is more handy. My problem, instead, is adding the button in the sharing toolbar of Oasis (click on the button "share" in the wiki navigation menu, there), the code I posted above works, but it'll add two buttons instead of one.


 * I added the same functionality to Aion using:


 * Rappy 18:58, July 16, 2012 (UTC)


 * Thank you, I think my version would have worked too, since I tested yours in my personal js, and I got the same problem as before, two buttons were rendered, so I tried to add it in the global js and it works nice... weird.