Closed (fixed)
Project:
Fivestar
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2008 at 19:34 UTC
Updated:
25 Nov 2008 at 05:42 UTC
Jump to comment: Most recent file
Comments
Comment #1
quicksketchThe Fivestar CCK field acts like other CCK fields, that is, it presents a field on the node edit form. You wouldn't expect the CCK textfield to make a textfield to the user viewing the content would you? The Fivestar CCK field is made for the node author to submit a value, then other users will view that value (say you were setting up a product review, the rating would be a single users opinion, plus the review itself in the node body).
Comment #2
quicksketchIt looks like the proper location for this request is #317317: Rate on multiple axis with admin UI which has the correct idea.
Comment #3
Renee S commented> You wouldn't expect the CCK textfield to make a textfield to the user viewing the content would you?
Actually, I don't believe that's a fair representation of the functionality the issue's author was asking for. It sounds like they were talking about having the user vote on a view field. Not quite the same thing, and there are more ways to skin that cat than using CCK fields.
I too would like this functionality. Here's an example: I'm displaying quotes in a view that are selected by taxonomy. I want users to be able to vote on the quote within the view, without having to go to the node. There should be a way to do this through CCK, or at least a way to expose the Fivestar field to Views2, which would work just as well.
Comment #4
quicksketchz allen, you can already do this, though the options for Fivestar are hidden within the VotingAPI options in the Views interface. I get the mistaken complaint that you can't vote on the Fivestar CCK field constantly, so if it's not what was being requested then I'm not sure what they were asking. To answer your question about how to have a Fivestar field in a view, see http://www.lullabot.com/videocast/building-views-fivestar-and-votingapi. Though I note again, this has nothing to do with CCK. The Fivestar field presented in Views is part of Fivestar's direct rating widget.
Comment #5
Renee S commentedThanks, that's a very useful tutorial.
Found a bug tho =)
If you use AJAX with the Voting API view using a fivestar rating it fails to properly load the fields. The first view works - it gives you a bunch of stars and you can vote on them - but if you attempt to page to the next set of results you get presented with a "Select a rating" dropdown box instead, with "Give it 1/5, 2/5," etc, but when you click on a choice it takes you to a white page with only a bunch of markup on it
Comment #6
quicksketchz allen, this has already been fixed in the development version (it's not in 1.13). Please open a new issue for such requests.