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´m using display suite in almost all content types. The point is that the field "google +1" does not appear on display suite. For version 7 someone made a patch, is possible something similar for the 6 for use it this module with display suite?
Thanks a lot!
Comment | File | Size | Author |
---|---|---|---|
#2 | google_plusone-1823780.patch | 1.56 KB | jonhattan |
Comments
Comment #1
corbacho CreditAttribution: corbacho commentedHola
This module doesn't implement the google+1 as a field but using node hooks.
I don't have so much time to work in new features, but if someone is interested to work in a patch, I will review it
Comment #2
jonhattanHere we go!
Comment #3
skat CreditAttribution: skat commentedHi Jonhattan,
thanks you for the patch. I have applied the patch for Drupal 6, however when I go to admin/build/ds/layout/content_type I cann´t see the option to add G.Plus one
Thank you!
Comment #4
jonhattanThe patch is for drupal 7
Comment #4.0
jonhattanUpdated issue summary.
Comment #5
kscheirerAny update here? You did say you would review patches :)
Comment #6
Faab CreditAttribution: Faab commentedAny updates? I really need this patch to work too! Tried this one on D7, didn't work..
Comment #7
corbacho CreditAttribution: corbacho commentedI will review the patch and try to fix this ASAP. Sorry for the really long wait and thanks jonhattan for the patch!
Comment #8
corbacho CreditAttribution: corbacho commentedThe patch still works. I committed and updated the module
You can download the module and try (branch 7.x-1.x-dev)
Make sure you enable the correct node content type in the button settings in the path /admin/config/services/google-plusone
And check that permission to "view" the button is enabled. (I'm thinking to get rid of this permission at some point)
Re-open if it didn't work for you Faab.
Comment #10
Faab CreditAttribution: Faab commentedLong time no see! Sorry to re-open this.. But i installed the branch 7.x-1.x-dev version of the module, checked the settings and permissions but still nothing.. Or do i still need to patch this version also? So still nowhere to be seen on my page, in my code or in display suite.. Here's a page is should appear on: http://www.racetrackriding.nl/nieuws/reacties-rijders-top-vijf-na-race-2...
Comment #11
Faab CreditAttribution: Faab commentedComment #12
corbacho CreditAttribution: corbacho commentedYou shouldn't use a patch anymore. I tested with Display Suite 2.x6 and Google Plus One -dev branch and it works fine.
Go to
/admin/structure/types/manage/article/display/full
Where "article" is your content type, and "full" the view mode.
Then, enable one of the DS layouts (in the bottom of that page).
Then, you should be able to see the Google+1 button as a field, drag & drop, and save that.
Screenshot: http://monosnap.com/image/QZzvNUjEnM2BSw488w4aeRiSgphD1E
in the admin settings of Google Plus you should have enabled the content type "article" enabled too. (But you said that you did)
If you did all these steps and doesn't work. Re-open the issue.