Drupal Module: Node Vote
Sponsored Links
Drupal Module: Node Vote
Submitted by Khalid on Wed, 2005/06/22 - 23:38I'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.
»




nodevote and flexinode
Hello 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
Theme functions
I 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
yagmur
It's actually quite a simple concept. Anything exposed to your node view will be indexed.
Post new comment