print fivestar_widget_form($node);
doesn't allow us to fully control of this beautiful module.it just render all needed fields for viewing results and voting.
for example , I would like to separate the "vote summary" and "vote selection" fields for non-java version , put them anywhere i want in my node.tpl.php and theme it freely. I even can't position the vote submit button unless using "position:absolute" css function.
i read everything before posting this issue and realized that most of article is out of date and doesn't work with the latest version of drupal and voting api.
Any suggestions ? :)
thnx
Comments
Comment #1
quicksketchWhich article are you referring to?
To print out the "static" display, you can use
To print out the "ratable" widget display:
You can change any of the settings as necessary to create a completely customized widget, regardless of the node type settings.
Comment #2
quicksketchI'm marking closed after lack of response. The above answer should explain how to create a fully functional custom widget.
Comment #3
mauritskorse CreditAttribution: mauritskorse commentedI have a similar problem with saving votes. For some reason the votes of my multi axis widgets are added to the vote axis if available, otherwise it won't save anything.
I have tried adding the tag key to the $settings array, but it seems to me it is being ignored (I have quickly scanned through the source file but couldn't find any reference for the tag key in the fivestar_custom_widget function.
Is there maybe a patch I should have used?