On the image below I marked two lines.
Top line in red is vote of user currently viewing record.
Bottom line in blue is total rating of record by all users who have rated.
In Cobalt it looks similar but stars also display total rating.
How to display vote (using stars) of current user viewing record he has rated and below display total rating (as text)? Exactly like it is on screenshot
I have asked two years ago and was addressed to API reference page in docs
I don't remember if I did it or not but I was not able to find in my old template files working solution for this rating view.
Also I tried to use that docs page to create what I wanted by myself but without success. There are examples where you need to type id of section, type and user. Is not it possible to have universal tempalte for rating? because I use same template in multiple sections. Also I need to display vote of currently viewing user, not a static user by ID.
On the image below I marked two lines.
Top line in red is vote of user currently viewing record.
Bottom line in blue is total rating of record by all users who have rated.
In Cobalt it looks similar but stars also display total rating.
How to display vote (using stars) of current user viewing record he has rated and below display total rating (as text)? Exactly like it is on screenshot
I have asked two years ago and was addressed to API reference page in docs
I don't remember if I did it or not but I was not able to find in my old template files working solution for this rating view.
Also I tried to use that docs page to create what I wanted by myself but without success. There are examples where you need to type id of section, type and user. Is not it possible to have universal tempalte for rating? because I use same template in multiple sections. Also I need to display vote of currently viewing user, not a static user by ID.