Hi,

I have a button widget with a image only. The count is displayed at another div (a custom one).

I'd like to know how i can "hook" the action of the clicked rate widget to be able to update my custom display of results.

I noticed also that when a user clicks the button, it's still displaying as a button and i'd like to hide it or to show a disabled (non clickable) version.

How can i solve this?

Thanks in advance.
Carlos

Comments

carvalhar’s picture

I update the count by jquery at my theme javascript file.
But how can i avoid the rate image being clickclable after a user voted or if he can't vote anymore?

thanks

jonhattan’s picture

Category: Feature request » Support request
Issue summary: View changes
Status: Active » Fixed

But how can i avoid the rate image being clickclable after a user voted or if he can't vote anymore?

Explained here: #1278814-1: How to update (reload) the rate widget using jquery when user clicks the rate-button?

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.