I've written a new Drupal module to allow users to vote on various types of node, as defined by the site admin.The votes are registered, and an overall average score is displayed, as well as the number of votes for that node. Sidebar blocks can be configured to show the top rated nodes, most voted for node, as well as most voting users.An extended version is available that allows voting for multiple criteria for each node, and not just one vote. More information on the Node Vote project page.
Contents:
Comments
Rudy (not verified)
nodevote and flexinode
Fri, 2006/09/29 - 03:32Hello Khalid,
First of all thanks for this excellent module. It works great with blogs and pages etc. But I have not been able to use it with a flexinode content type. I dont know how to print it in the node-flexinode.tpl.php.
Is there a php variable that can be used to print the nodevote output in the node-flexinode.tpl.php, As there is in the userreview module.
Thanks a lot
Rudy
Khalid
Theme functions
Fri, 2006/09/29 - 10:14I don't use flexinode myself, but assuming you are on 4.7, there are two functions that you can include in the theme.
yourtheme_nodevote_display_vote($score, $votes, $vote_display)
And
yourtheme_nodevote_do_vote($node)
That should do what you want.
--
Khalid Baheyeldin
yooonfoo (not verified)
yagmur
Wed, 2010/11/24 - 08:14It's actually quite a simple concept. Anything exposed to your node view will be indexed.