Closed (fixed)
Project:
Google Plus One Button | Google+ Badge
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2012 at 17:28 UTC
Updated:
7 Mar 2012 at 09:00 UTC
Comments
Comment #1
corbacho commentedIf 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.
Comment #2
trante commentedThank 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.
Comment #3
corbacho commentedIf 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.
Comment #4
trante commented@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
Comment #5
corbacho commentedGood suggestion. I will add it.