Download & Extend

Ability to change Max Vote in Settings

Project:Node Vote
Version:5.x-1.x-dev
Component:User interface
Category:feature request
Priority:critical
Assigned:Unassigned
Status:needs work

Issue Summary

I have added the ability to change the Max Vote number to a variable so the admin can change the number from 10 to what ever they choice as the max vote.

mainly due to the fact that the use on one of my sites looked better if I only had up to 5 stars to display. Made the table look a little better ;)-

But figured others might want to set it as well, so here is the updated nodevote.module with the settings.

AttachmentSize
nodevote.module13.75 KB

Comments

#1

Status:active» needs work

Can you please post this as a patch against the latest version?

See http://drupal.org/patch for details

#2

Version:4.7.x-1.x-dev» 5.x-1.x-dev
Priority:normal» critical

Well, I have seen and changed that variable from 10 to 5 but the help text when somebody is voting still says "10 - best vote" because this uses static text in the module file. This needs to make use of the variable.