Quote:
Originally Posted by cooltechie
When using digg like rating with a post that has 0 positive and 2 negative
Code:
<if condition="$post['totalrank']">
+ $post[goodrank]
</if>
It shows up as this:
+ 0 Do you think this post was helpful? Yes | No
|
This field is set to an int so it will show as 0 if empty. You can use the condition <if condition="$post[goodrank] > 0"> to qualify it.