Hi there,
I am using the review module to obtain user reviews on restaurants. Within each review the user rates the restaurant on 4 criteria - food, service, ambience and value. Each user has a profile page on the web site which details all the content they have contributed to the site. I have managed to list the reviews for a specific user using rating_author_id="1" but the problem I have is that I can not figure out how to display the overall star rating which is an average of the 4 criteria previously mentioned.
Here is my code as it stands, but it does not display the average star rating.
{exp:rating:entries form_name="restaurants" rating_author_id="1" theme="black14" limit="20" dynamic="off"}
<li><div class="stars">{stars}{rating}{/stars}</div>{title}</li>
{/exp:rating:entries}
I have tried {stars}{rating}{/stars} as above, {stars}{avg_rating}{/stars} and all sorts, without success.
Any ideas?
Thanks
Martin
