Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This was happening with beta versions and is happing now that I upgraded to 7.x-3.0.
I disabled the 'Commons Like' module (as I won't use it) but the 'like' link (should it be a button?) is still there on group and content pages, except for the wikis (and that makes it even more confusing).
I can't understand why is there a module "working" when it's disabled. It even says 'You voted '1'.' when I click on it.
Comments
Comment #1
Dani_what CreditAttribution: Dani_what commentedComment #2
autolyst CreditAttribution: autolyst commentedOk I was able to duplicate this behavior by disabling the Commons Like module.
I have a remedy that removed the leftover button, disable the Rate Module, it is a dependent module for Commons Like and provides the basic voting capability for the module.
Hope this helps
Comment #3
Dani_what CreditAttribution: Dani_what commentedThank you very much autolyst, that worked for me.
I think it should work when just disabling the Commons Like module, though.
Comment #5
Chimos CreditAttribution: Chimos commentedThis issue is present on my commons fresh install, version 7.x-3.26.
The like button never worked (it has hover state and pressed state but there's no reaction after click: the widget counter doesn't change, and the button state neither). The commons_answer widget ("up-down") doesn't react neither.
This is the HTML output of the commons_like widget:
HTML output of the commons_answer widget:
Is it designed to output a plain
span
instead a button or a link?I created other rating widgets ("yes-no" "number up down" and "5 stars") for the same content types (questions and answers) and it looks that those work correctly.
Thanks