Content Rating not showing filled stars

Dave Ford asked on March 20, 2014 14:08

I have a content rating web part but it is not displaying the filled stars when there is a rating. I know that there is a rating on the document because I went into the database and put a rating and number of rates in the record. Also, it is displaying the current rating next to the empty stars. Not sure what else I have to do to have the stars filled. I can see from viewing the source that all the stars have the emptyStarRating css class.

Recent Answers

Martin Danko answered on March 21, 2014 06:52

Hello Dave,

as first, let me kindly inform you that you shouldn't perform any direct changes in the database if it's not necessary. It can cause an inconsistency in the database and also Kentico is not reflecting changes which were made directly in the database immediately, for testing purposes in this scenario, you can try a different browser, login as a different user and rate a document.

Moreover, I've tested this functionality and rating is working correctly on the last hotfix 7.79. So maybe try to apply the latest hotfix if you are experiencing any problems.

Regards, Martin

0 votesVote for this answer Mark as a Correct answer

Dave Ford answered on March 21, 2014 08:21

I doesn't do anything if I try to give any document a rating. I am pulling this in with ajax and only showing the a container div and its contents. So is there any javascript that needs to be included.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.