I am using the following code on my node.tpl file:

print rate_embed($node, 'thumbs_up');

When i click the button it works but I need to refresh the page. If not, it just says "saving vote..." and this text does not change until the page is refreshed.

I do not have this problem on the widgets that are not manually inserted. They work fine. The text changes as soon as you click the button.

Does anybody know what the problem might be?

Thanks in advance.

Comments

David Blas Bray’s picture

StatusFileSize
new8.07 KB
dgastudio’s picture

same here

avpaderno’s picture

Issue tags: -custom template, -node.tpl.php, -rate widget
ivnish’s picture

Status: Active » Closed (outdated)

Drupal 7 is EOL. Issue will be closed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.