Like Dislike Buttons

Categories

Component ID

2031581

Component name

Like Dislike Buttons

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

3384

Component created

Component changed

Component body

This module adds the like/dislike buttons to your content by using Voting API.
Similar to Facebook, but with also negative voting (dislike).

The starting point of this project was not made by me, but instead by Amitav Roy on his blog here: http://amitavroy.com/justread/content/articles/ajax-and-dislike-using-vo...

Requirement: Voting API

Planning to get future work and probably integrations in the near future, feel free to request changes or functionality

The module uses permissions to define which content types will show the voting buttons.
There is a permission to view that will show the buttons and counts and another permission to vote. These permissions are per content type or comments.
If a user without permissions to vote tries it will show a message that can be changed in the configuration page.

Short term TODO:

  • Change the JS and templates to use classes and not images to avoid hardcode of the image URL and leave it to the CSS to set the image
  • Maybe: Handle the display using a field type so it can be managed by the fields of each content type and re organise it more easily and without coding templates