Hi,
I'd like to know if the Ratings OOTB components display the total of ratings made.
I saw the value but it is hidden.
Is this the expected behavior of this component?
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
To be honest, I'm not sure of the intention. The Rating component is integrated into other features, like Reviews, and so I'm guessing the default is to keep it simple.
But notice, if you select the "x out of 5 stars" line, it should toggle open a histogram which shows the count.
If you're comfortable with scripting languages, have a look at the Community Components guide on your localhost instance, e.g.
http://localhost:4502/content/community-components/en/rating.html
You can play with the HBS template.
Hope this helps.
This image is from using http://localhost:4503/content/community-components/en/rating.html
signing in as a demo user
selecting 4 stars
signing out
selecting the text "4.00 out of 5 stars"
[img]rating-histogram.png[/img]
- JK
Views
Replies
Total Likes
Hi,
Which version of AEM are you using?
-JK
Views
Replies
Total Likes
Hi,
I am using the version 6.0.
Thanks
Views
Replies
Total Likes
To be honest, I'm not sure of the intention. The Rating component is integrated into other features, like Reviews, and so I'm guessing the default is to keep it simple.
But notice, if you select the "x out of 5 stars" line, it should toggle open a histogram which shows the count.
If you're comfortable with scripting languages, have a look at the Community Components guide on your localhost instance, e.g.
http://localhost:4502/content/community-components/en/rating.html
You can play with the HBS template.
Hope this helps.
This image is from using http://localhost:4503/content/community-components/en/rating.html
signing in as a demo user
selecting 4 stars
signing out
selecting the text "4.00 out of 5 stars"
[img]rating-histogram.png[/img]
- JK
Views
Replies
Total Likes
That's exactly what I wanted.
I noticed in the code that it was print in the HTML the total count, but I was unable to see it.
Thank you so much
Views
Replies
Total Likes
Views
Likes
Replies