Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I ask kindly a new Feature.
I would like to hide the +1 button if node is not published.
this feature is required for +1 button inside node content.
The same feature is presents in fb_social module and it is not really important.. but it is really comfortable when you are working at a new content andwatch node preview or save it without publish.
Could it be implemented?
Thank you for all.
Comments
Comment #1
corbacho CreditAttribution: corbacho commentedYes, it has a lot of sense, thanks for your collaboration lately ;)
Comment #2
tony barnes CreditAttribution: tony barnes commentedI've just added this to ours - works like the FB button now.
Open /modules/google_plusone/google_plusone.admin.inc
Find:
afterwards add:
Open google_plusone.module
Find:
after add:
It now works just like the FB button, and you can ban it on whatever pages you like.