I have enabled Fivestar (rating module) for a particular content type, and set it as to allow people to rate this content in the comments section.

I have two questions:

1) How can I show the Fivestar stars in a view? There is no field for this. I know I can just use the CCK Fivestar field but I need the comment linked to the score functionality.
2) How can I show the Fivestar stars in a comment? I can see the rating when I edit someone's comment.

cheers,
Frychiko

Comments

bedrock’s picture

You can show fivestar in a view - there is a field for various options (VotingAPI).

If you want to show the fivestar rating in a comment with the comment itself you can:
1. Select List or Table as View Type
2. Add the fields "Comment: subject", "Comment: comment" and "VotingAPI"
3. Set the filter to the content type you want to display
4. Set "Comment Count" to "equal or greater than 1"

Hope this helps.

cybershan’s picture

But comment count was not the ranking of voting api

dailypress’s picture

you can read the views section under FiveStare project page which basically links to: http://www.lullabot.com/videocast/building-views-fivestar-and-votingapi