Primary Navigation
Google +1 button code being stripped
I am trying to put a Google +1 button on one of my pages inside an HTML widget, but every time I save the widget the code gets stripped by Igloo. Has anyone lese managed to successfully put a +1 button on their site?
This is the code I am trying to put in (the javascript to go with it is already pasted in in "advanced"):
<g:plusone></g:plusone>
Any help would be greatly appreciated.
Thanks,
Ulrik
-----
Viewed 161 times
Page Options

5 Replies
Unfortunately any non-standard HTML tag is stripped from the HTML widget. The only way to get around it is to use a standard HTML tag with a unique class like <span class="g-plusone"> and change the JS to search for that tag instead of the <g:plusone>.
I don't see how this is a solution, really, as the JS file I am linking to is hosted with Google. I had the same problem when trying to install a Facboook Like button - even the iframe got stripped, which I would argue is very standard HTML.
I can't be right that these two buttons, that are becoming so prevalent everywhere on the web, cannot be used on your platform, can it?
Yes, the hosted JS is a problem. Even if you were to download it (to upload later to your site), it would be compressed and unreadable - it wouldn't easy, but it's still possible.
But yeah, you're right - supporting these would be beneficial. We'll see what we can do.
Thank you, Ivan. That would be greatly appreciated. It is possible to decompress JS, but changing their code is not really a good idea. Particularly as I would then have keep track of any changes to the code and update it every time there was one.
I am interested in this also especially with the announcement of Google + Direct connect. It seems that it would be very advantageous to be able to put a Google + button in our IGLOO communities to link them with our Google + business pages thereby improving our search results. I am not a programmer so I struggle somewhat when I have to tweak HTML or java script. Is there a possibility of simplifying the connection with our Google + pages in the advanced tab?
Would you like to comment?
You must be a member. Sign In if you are already a member.