Mark first review as ‘first’
Posted: 09 July 2008 09:59 AM   [ Ignore ]
Member
RankRankRank
Total Posts:  68
Joined  2005-12-13

So, you know, instead of people writing ‘First!’ in their review of an entry, I can just automatically show a flag to that effect. I get the feeling it’ll required some math tomfoolery though…

Profile
 
 
Posted: 09 July 2008 10:02 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

You should be able to use the {count} variable as a conditional, but it will be assuming that you’re ordering the entries by date in an ascending order: smile

{if count == "1"}First!{/if}

 Signature 
Profile
 
 
Posted: 09 July 2008 10:25 AM   [ Ignore ]   [ # 2 ]
Member
RankRankRank
Total Posts:  68
Joined  2005-12-13

hmmm, the count tag doesn’t resolve..? it just gets output as ‘{count}’

Profile
 
 
Posted: 09 July 2008 11:59 AM   [ Ignore ]   [ # 3 ]
Member
RankRankRank
Total Posts:  68
Joined  2005-12-13

Any other feedback on this? I don’t actually see count identified as a valid tag for the rating:entries in the documentation…

Profile
 
 
Posted: 10 July 2008 07:22 AM   [ Ignore ]   [ # 4 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

It doesn’t seem to be available to use…
I’ll add it to the feature requests smile

 Signature 
Profile
 
 
Posted: 29 August 2008 11:14 AM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

{count} and {total_count} variables have been added in the release of Rating 2.2.0, now available for download. smile

 Signature 
Profile
 
 
   
 
 
‹‹ Rating and Freeform?      MySQL Error 1604 ››