[Solved] How to render google +1 (plusone) button ?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
Erhaoen
Forum Members
Forum Members
Posts: 19
Joined: Tue Oct 19, 2010 5:32 pm

[Solved] How to render google +1 (plusone) button ?

Post by Erhaoen »

I can't find a way to add +1 button to my content, I wonder if anyone had any success with this already?
It suppose to be simple:

Add link to .js in header or before closing body tag
<__script__ type="text/javascript" src="https://apis.google.com/js/plusone.js"></__script>

Add plusone google tag anywhere in your content:
<g:plusone></g:plusone>

I tried to wrap it in {literal} tags but it vanished anyway. Any ideas how to make it stay? :) Many thanks in advance.
Last edited by Erhaoen on Sun Jul 24, 2011 11:16 pm, edited 1 time in total.
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm
Location: the Netherlands

Re: How to render google +1 (plusone) button ?

Post by M@rtijn »

No, just put in there like it is. Works for me

Wrap it in a div to position it right.
Make your community a better place!
User avatar
Erhaoen
Forum Members
Forum Members
Posts: 19
Joined: Tue Oct 19, 2010 5:32 pm

[Solved] Re: How to render google +1 (plusone) button ?

Post by Erhaoen »

It works indeed. I had wysiwyg turned on and tried to add +1 tag using HTML source view - but it kept disappearing. Turning wysiwyg off is a way to go, thanks!
Post Reply

Return to “CMSMS Core”