Thank you for great module. I added Google+1 button to my nodes with this module.
But i'm curious if i can add Google+ badge, which links to my Google+ page.

I need to link my Drupal site to Google+ page.
Is it possible?
Thank you

Comments

corbacho’s picture

If you go to the "Blocks" page, you will see one called "Google+ Badge"

Configure it and place it wherever you want.

I just pushed some changes to include last changes by Google, like adding theme dark/light, width, etc
#1431746: New settings for badges

Please, download the last snapshot
http://drupalcode.org/project/google_plusone.git/snapshot/cf5dbbc58d0b77...

and test that you didn't have problems to configure the block and enable it.

By tomorrow exactly that snapshot will be in the 7.x dev branch, but it takes some hours until the packing system creates it.

trante’s picture

Thank you corbacho for help.
I tried "christian death"s settings code.
Yes it creates a badge succesfully.

But i need to put static Google+ badge to my site.
https://developers.google.com/+/plugins/badge/

Now i created a block manually and copy paste static link to my Google+ page with the badge image.
But it would be great if we can add static Google+ badge, in addition to dynamical Google+ badge.

Thank you for interest and great work.

corbacho’s picture

Title: How can i add Google+ badge to my site? » How can i add multiple Google+ badge to my site?
Category: support » feature

If I understood right, What you called "static" is the style "Icon" that you can see in the settings of the block.

Or Did you mean that you want 2 blocks in the same page, 1 static and 1 dynamic? Drupal core block system doesn't let you to put the same block twice, you should use http://drupal.org/project/multiblock module then.

Or I could implement it as 2 different blocks (static badge and dynamic badge) in the module, but I don't know how many people would need this solution. Is it overkill ?

I change the title of the issue, so others can find this request easier.

trante’s picture

Status: Active » Fixed

@corbacho thank you for quick reply.
I didn't mean two different blocks on same node - sorry for my English.

I found that in your module by changing Google+ Badge block settings.
When i changed the setting to "medium icon" i found that it was there :))

-----

Can you add a link and a sentence from
"admin/config/services/google-plusone"
to
"/admin/structure/block/manage/google_plusone/google_plusone_badge_block/" ?

Because i even couldn't find this block before your message above.
I think it would be helpful for users.
Thank you

corbacho’s picture

Good suggestion. I will add it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.