How can I disable the LIKE-button etc. on certain node-types?

Comments

moe67er’s picture

searching 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

Dave Cohen’s picture

The 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.