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,
Is it possible to add Views support? I want to add the Facebook Like Button to my views.
Comment | File | Size | Author |
---|---|---|---|
#14 | fblikebutton-views_handler-1121906-14.patch | 3.15 KB | Kazanir |
#9 | views-support-1121906-9.patch | 3.31 KB | davisben |
Comments
Comment #1
ajaysolutions CreditAttribution: ajaysolutions commentedSeconded, for D6 and D7. Thanks for the module!
Comment #2
jerdiggity CreditAttribution: jerdiggity commentedComment #3
lukio CreditAttribution: lukio commentedgreat module !
I did a nice trik so I can use fblikebutton into views.
First, install views_php.
Create a new field php, then copy&paste this code into.
So, you can use views, and fblikebutton.
Hope it help for now.
Comment #4
mwbyrd CreditAttribution: mwbyrd commentedOr just add the code to the footer of the view.
The only issue I see is that the Like button doesn't refresh on a different view...
Comment #5
pwaterz CreditAttribution: pwaterz commentedThat is a hack, need real views integration.
Comment #6
sammyman CreditAttribution: sammyman commentedWe need Views Support. I need it for 7x. Thanks!
Comment #7
emergencyofstate CreditAttribution: emergencyofstate commentedSub
Comment #8
giorgio79 CreditAttribution: giorgio79 commentedhttp://drupal.org/project/views_fb_like
Comment #9
davisbenI took a pass at this. It works for me, but it's only been tested on one site.
Comment #10
davisbenComment #11
Poieo CreditAttribution: Poieo commentedWorking great for me. Would love to get this committed.
Comment #12
dotist CreditAttribution: dotist commentedpatch worked great for me!
Comment #13
caspervoogt CreditAttribution: caspervoogt commentedI don't quite understand why the Dynamic Like Button needs to be restricted to a content type at all. The site I'm working on has some nodes, but it consists primarily of views. It doesn't make sense to add this into a view ... having it as a block that can just be assigned to some region and that *optionally* can be restricted by content type would be fine, I think. The block itself can actually already be restricted by content type, so I don't see why the module needs to do that at all, unless I'm missing something. I may tweak this to make content type optional, because I really don't want to have to assign the same block in two or three different ways when it can just be in a block and be done with it.
Comment #14
Kazanir CreditAttribution: Kazanir commentedRerolled the patch in #9 to the latest dev and it appears to be working.
Comment #15
Haidee CreditAttribution: Haidee commentednot working for me... got some error message
Comment #16
vgutekunst CreditAttribution: vgutekunst commentedhow to get this field in views? I installed the recent version 7.x-2.4 but i didtn get any like button in my view?