What I needed:
- show simplevote on a few pages only
- show simplevote for certain node types only
(I created a wishlist node type using cck and want users to vote on
the wishlist items but not on every other pages within my site)
So here is a small patch to add some basic options to simplevote.
Thanks to kus (http://drupal.org/node/57163).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | simplevote_node_types.patch | 1.77 KB | Anonymous (not verified) |
| simplevote.module.patch | 1.8 KB | profix898 |
Comments
Comment #1
Anonymous (not verified) commentedhere's my version but doesn't include the option for specific nodes by nid.
Comment #2
eaton commentedProbably not going to implement this one. SimpleVote is intended as a demonstration of the API, and perhaps a building block for other module authors wanting to create more complex systems. For now, at least, I want to kkeep out any complexity that's not directly related to the API itself.