Closed (fixed)
Project:
Fivestar
Version:
5.x-1.5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 May 2007 at 12:39 UTC
Updated:
3 Jul 2007 at 07:43 UTC
Hello,
I want to build a table view with jokes from school (schoolboy howlers?), one row = one joke and I want that every visitor can rate a joke directly from this table view, not only on a node with this joke. Is there any posibility to create a column with Fivestar widget? Something like in my attachment, but with the possibility to vote. Now it's – AFAIK – possible to display rating only.
| Comment | File | Size | Author |
|---|---|---|---|
| hodnoceni.png | 52.75 KB | cellane |
Comments
Comment #1
cellane commentedIs there anybody in there? :-)
Am I requesting this feature on wrong place, am I asking for stupid and easy as pie thing, am I propounding duplicate question or is this feature „work-in-progress“? Please, answer me, I'm hopeless now.
Comment #2
quicksketchYou'll need to use the standard table (or list) view, displaying your 'joke' field. That's all that will need to be done in views. Then using the views theme wizard, create a theme function for your view. Paste the code into the places it tells you. In your .tpl.php file for the view use:
to print out the fivestar rating widget for that node.
Comment #3
cellane commentedThank you very much, I'll try it :-)
Comment #4
quicksketch