View Single Post
  #1  
Old 08-13-2009, 09:31 PM
atasteofchaos atasteofchaos is offline
Junior Member
 
Join Date: Jul 2009
Posts: 23
Geek Article and Review System License Holder 
Default custom message if no rating

I'm trying to show a single peice of text saying "No ratings yet" if no member has rated a CD that's been reviewed.

I changed the template "GARS_rating_result_bit" to this:

Code:
<if condition="$na">
<tr>
<td align="$stylevar[left]" class="alt1active" style="white-space: nowrap;" colspan="2">
No ratings yet</td></tr>
<else />
<tr><td align="$stylevar[left]" class="alt1active" style="white-space: nowrap;">$question[text]</td><td  class="alt1active" align="$stylevar[right]">$rating_value</td></tr>
</if>
But it just repeats the line "No ratings yet" in place of the different things you can rate. Where can I edit this and also remove the "0 users rated..." part too if no one has rated yet. But show it all when someone has rated.

Here's the page I mean:

http://www.rockonpublishing.co.uk/showthread.php?t=16
Reply With Quote