[SOLVED] Star Rating
Posted 20 May 2011 - 05:53 AM
I have implemented a star system to my page using the CStarRating class. Was very quick and easy. BUT, the plugin that uses, don't support non int ratings.
I mean, y have 2 votes, one 5 stars, the second 4 stars... the result is 4.5. CStarRating doesn't support that, it only accepts integer as values.
Anyone know any extension that support that? at least, show a half star.
Posted 20 May 2011 - 12:52 PM
'starCount' => 10, 'maxRating' => 10, 'ratingStepSize' => 0.5, 'value' => 2.5,
i see 20 stars (0.5 value each) and the first 5 are selected (cause of 0.5 rating step).
Are you sure that i can show half star? can you please post an example? I'm looking at the plugin documentation page and i see that value has to be a integer...
Posted 04 July 2014 - 07:23 AM
Managing a star rating with the StarRating widget in Yii 2
and use Star Rating Yii Widget..
Follow me - @rohisuthar