A new service can be added, it's not google +1, it's the functionality to share a link

$links['googleplus_share'] = array(
'name' => 'Google Plus share',
'description' => t('Share on Google+'),
'link' => 'https://plus.google.com/share?url=',

You can get the icon from here https://developers.google.com/+/plugins/share/


chromix’s picture

Status:Active» Needs review
new527 bytes
new611 bytes

Here's a patch and the icon that should be copied into images/. It seems to be working great for me!

Jody Lynn’s picture

new805 bytes

Patch was missing the actual URL. New patch.

rv0’s picture

Thanks, works fine for me.

Tor Arne Thune’s picture

Status:Needs review» Reviewed & tested by the community

Google Plus is blatantly missing from the general services, so, yes please.

SebCorbin’s picture

Status:Reviewed & tested by the community» Needs review
new1.67 KB

Here's another patch, with a simpler id, and mentioning it in .info

Binary image can be found at https://www.gstatic.com/images/icons/gplus-16.png

Pol’s picture

I'm also willing to see this in.

TheCrow’s picture

SebCorbin’s picture

Here's a try with the image encoded in base 64 with git format-patch

Simon Georges’s picture

Status:Needs review» Needs work

Let's change the description to "Share on Google+", otherwise, patch applies cleanly. What do you think, TheCrow, good for commit?

Simon Georges’s picture

Version:7.x-2.x-dev» 6.x-2.x-dev
Status:Needs work» Patch (to be ported)

I committed a slightly modified version of the patch (essentially using "+" instead of plus to respect Google terminology). Thanks to every contributor of the patch.
Let's move this to 6.x-2.x for addition too.

timb’s picture

I would like to see this functionality in 6