Hi,
When a user already voted at a node (thumbs up), the widget shouldn't be clickable, but it's being printed always as a clickable a href html tag.
If the user who already voted, clicks again the rate widget it doesn't compute more votes.
This behavior is correct, but the widget shouldn't be printed as a link if the user already voted.
I'd like to hide it or to show a disabled (non clickable) version.
Also, if the user didn't vote yet, but click and vote, there is an ajax call that updates the vote, but the button remains clickable, and it should be disabled as soon the vote is computed.
How to solve this?
Any help?
Thanks
Comments
Comment #1
carvalhar commentedok,
i don't know why this isn't working...but i found a workaround:
http://drupal.org/node/356605
my code:
Comment #2
konon commentedTry this http://drupal.org/node/1278814#comment-4991766
Comment #3
lamp5