Quote:
Originally Posted by capink
Edit: Thinking about this, I was about to suggest a rating_to_stars() function, only to discover it is already there, and it uses halfstars as well.
|
A simple template that uses rating_to_stars is
Code:
{#my_numeric_column:rating_to_stars()}
where #my_numeric_column is the lookup name for an integer or float custom column.
If you want half stars then use this
Code:
{#my_numeric_column:rating_to_stars(1)}
where #my_numeric_column is the lookup name for a float custom column.