Project:Voting
Version:master
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I wanted to just display the "view" average part of the voting widget - not sure if there was some parameter i could have called but didnt see it - so i created tiny patch to add $mode as one of the attributes that could be passed.

I call it like:

$vote_widget = voting_control_generic('content_resource',$nid, array ('mode'=>'show_avg_only'));

it would be nice if i could also just call the voting portion as well - but not sure that is quiet as simple.

patch attached.

AttachmentSize
voting.patch1.06 KB