Webmastersite.net
Register Log In

custom rating fields

Title custom rating fields
Description but wrong stars
Message Text Note : this post has been corrected to bring informations to the reader

Hello,

If you want a cleaner presentation on displaylinks when you have two or more votes criteria, you can write :

<IF {SWITCH_RATINGS} and {LINKVOTES}>
<table><tr><td>{PALL_LANG_GENERAL_RATING}:
</td><td>{LINKSTARS} ({LINKRATING}/{MAXVOTE}, {L_LANG_GENERAL_VOTES} {LINKVOTES})
</td></tr>
<tr><td>
{PALL_LANG_GENERAL_RATING}:</td><td>{LINKSTYLERATINGSTARS} ({LINKSTYLERATINGRATING}/{MAXVOTE}, {L_LANG_GENERAL_VOTES} {LINKSTYLERATINGVOTES})
</td></tr></table>
</IF>

but surely NOT :

<table><tr><td>
<IF {SWITCH_RATINGS} and {LINKSTYLERATINGVOTES}>{PALL_LANG_GENERAL_RATING2}:
</IF></td><td><IF {SWITCH_RATINGS} and {LINKSTYLERATINGVOTES}>{LINKSTYLERATINGSTARS} ({LINKSTYLERATINGRATING}/{MAXVOTE}, {L_LANG_GENERAL_VOTES} {LINKSTYLERATINGVOTES})
</IF></td></tr>
<tr><td><IF {SWITCH_RATINGS} ...
</IF></table></tr></td> ... have been included for a better presentation)

thank you

CC
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership corbin
Views 585 views. Averaging 0 views per day.
Similar Topics
Submission Date Mar 21, 2006 - 3:37 PM