By profix898 on
I'm looking for a possibility to let users vote on certain nodes only OR on one node type only. I created a new node type using CCK and a page to list all nodes of that type using Views module. But now I want users to be able to vote on the items of that view (what means: vote on that newly created node type). Any ideas? I already tried VotingAPI and SimpleVote/MediumVote, but using these modules users can vote on every node of my site (even comments). Is it possible to limit the voting modules to certain nodes?
Comments
you can hack simplevote,
you can hack simplevote, let's say for storys only ...
Great
Wow. Thanks for quick reply :)
It's good to know that I can adapt it with a single line of code. Since I'm on a multisite install I was hoping to find a more versatile solution for that. I want to use the module as is on one of my other sites ... but I agree this is a great workaround.
afaik the
afaik the http://drupal.org/project/nodevote also support configuration per story or page....but has a three click user interface.
hack works great
The hack you suggested works great. Thanks. I created a small patch for simplevote which add a settings page to configure nodes / node types to show simplevote on (see http://drupal.org/node/57408).
Hack doesn't work with Content Templates
Great hack! It doesn't work when using the contemplate module, though. Any ideas?