You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A client request has come in to be able to see not just the average star rating for an entry, but also the total votes cast. The request specifically is to see these on the element listings pages.
The "Average Star Rating" field type, when used, renders the "locked stars" format using font awesome; I don't know if there's a "clean" way to add total votes to this UI; one perhaps simple route would be to provide an alternate view for the field, to render not as locked stars but as simple text info: avg rating & total votes.
... Perhaps the field type could be configured to show one or the other or both formats. Because tbh the locked stars are "good enough" for a front-end render, but for the client/editor it would perhaps be slightly more informative to report exact figures. Though the locked stars are a nice visual affirmation and would demonstrate what front-end users would see.
Of course in Craft 3.6 we're able to use custom templates as field types to report this fine-grained detail, but (currently) these are not displayed on the element listing pages. Hence this pesky FR. :)
Thanks!
The text was updated successfully, but these errors were encountered:
Hi John, thanks for the suggestion! This aligns with some long-term plans... I've made a few notes, and we can keep this FR open until it is eventually addressed. 👍
In the meantime, try adding this to your site's module (assuming you already have a module installed)...
A client request has come in to be able to see not just the average star rating for an entry, but also the total votes cast. The request specifically is to see these on the element listings pages.
The "Average Star Rating" field type, when used, renders the "locked stars" format using font awesome; I don't know if there's a "clean" way to add total votes to this UI; one perhaps simple route would be to provide an alternate view for the field, to render not as locked stars but as simple text info: avg rating & total votes.
... Perhaps the field type could be configured to show one or the other or both formats. Because tbh the locked stars are "good enough" for a front-end render, but for the client/editor it would perhaps be slightly more informative to report exact figures. Though the locked stars are a nice visual affirmation and would demonstrate what front-end users would see.
Of course in Craft 3.6 we're able to use custom templates as field types to report this fine-grained detail, but (currently) these are not displayed on the element listing pages. Hence this pesky FR. :)
Thanks!
The text was updated successfully, but these errors were encountered: