Closed (fixed)
Project:
Fivestar
Version:
6.x-1.19
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Jul 2010 at 02:47 UTC
Updated:
9 Aug 2010 at 17:39 UTC
hello.
i am trying to create a block for top rated nodes based on the five star voting. i realize this may be tied into views but i am unable to find a tutorial out there that actually works. If anyone has any suggestions or tutorials they could point me to, that would be great.
Thanks!!
Comments
Comment #1
EpicName commented- Step one -
Create a view
Create a block inside that view
- Step two -
Create a relationship "node: voting results"
Value type = percent
vote tag = normal
Aggregation function = average vote
- Step three -
Your going to wanna pass in the nid as an argument so:
Argument "node: nid"
and as your top field use "node: nid" as well (make sure to exclude from display)
- Step four -
create the "node: title" field and rewrite the output as something like this "target/[nid]"
create the field "(vote results)vote results: value"
set the relationship inside that field too use the relationship we have already set up
- Step five -
Set up your sorting methods
Set up your filters
- Step six -
PROFIT!
Comment #2
glitz commentedNice!! thanks!!
Comment #3
EpicName commented