Sorry if the description is a bit cryptic, but I'd like to implement a traffic light theme for fivestar. How I propose to do this would be:
- Create 3 'star' images for voting values 1 through 3.
- Don't use stars at all, use images that look like red/amber/green 'lights'
- Only allow voting value between 1 and 3.
- 1 represents red
- 2 represents amber
- 3 represents green
Now, the problem here is that currently if someone votes 'amber' or 'green' that fivestar widgets show not only the highest vote icon selected, but also fills in the ones below it. Eg. if someone votes '5' using the usual widgets, stars 1-4 are also filled.
This request is to see only '5' shown in that scenario.
This would allow a custom traffic light widget as described above to only show green without also showing amber and red.
I know different colour (and sizes) of icons are supported as this is how the 'craft' widget works.
Comments
Comment #1
merilainen commented+1 for this feature
This would make fivestars a lot more flexible, now I can only use it for review-style voting.
My requirement would also be 3 level voting, describing the mood of user: sad-neutral-happy.
Comment #2
alrueden commentedYou can do that without Fivestar:
Of course, that solution has no vote tabulation and isn't a replacement for the Fivestar module. However, it will work if you only need input from one person (I assume other people don't get to vote on the user's mood).
That being said, I also think this feature request is a good idea. It would be useful to display a number of ratings in a limited space, such as a Views-generated table.
Comment #3
ericduran commentedThis can implement with fivestar and/or without it. You'll just need to do some trickery with the css, but I don't see why this wont be possible.