Active
Project:
Drupal for Facebook
Version:
6.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2011 at 09:32 UTC
Updated:
11 Jul 2011 at 14:49 UTC
How can I disable the LIKE-button etc. on certain node-types?
Comments
Comment #1
moe67er commentedsearching for a solution, too.
in my case, I have a gallery and via views I add several GPS-Tracks. The like button only appears at the end of the gallery node, but I cannot use it. There's no LIKE-communication to facebook. When I take a gallery without adding tracks, it works. So I would like to disable LIKE-buttons on gps-track (which is an own content type)
kind regards
Comment #2
Dave Cohen commentedThe code that adds like buttons is in fb_example.module. It's intended to be an example of the kinds of things you can do, using a custom module.
I suggest you make a custom module specific to your site. Modify the code in fb_example_node() hook to do just what you want. Please share your result here so others can see an example. See also http://drupal.org/node/933670.