Like & Dislike widgets for Drupal

It sounds simple, but while Drupal has the awesome Voting API, with Fiverstar, Vote Up/Down and many other voting like modules, we didn't have a "ready to use" solution for a "Like" widget, as we see on Facebook and many other social networks. Another issue is that many people avoid, but sometimes we do need the "Dislike" widget too.

While developing a video centered social network, this was a key part, and as i didn't find a stable and complete solution, i decided to create one, to play a little more with my new toys: COOL module(you can read more at OOP in Drupal 7: Cool module in practice), for an OOP Drupal development, and the combo Coffeescript + Grunt.
There isn't a better way to practice more and more with Coffeescript, test and understand more about Grunt, than creating a module and sharing it to receive feedback!

With this in mind, i created the Like & Dislike module, that provides the "like" and "dislike" widgets for contents inside Drupal, making it easiers to promote features as told before.

Technically speaking, the module provides 2 tags for Voting API, "like" and "dislike", working in a different way from Vote Up/Down, that is like a "plus or minus" approach. Likes are separate from Dislikes here.

How it works

Like/Dislike widget works for any Entity Types and Bundles, and includes a settings page to specify on which bundles the user wants the widgets available(node types, comments, files, users, etc). By default, none of them are available, so it is needed to go at "/admin/config/search/like_and_dislike" and enable the wanted ones.

Well, if you have any suggestion or feedback, just drop it on the issue queue!

Hope it can be useful!

comments powered by Disqus
Conteúdo recomendado
u34.com — Bônus 300% até R$2.000 no primeiro depósito
Jogos Online Cassino & Apostas no Brasil
Saques via PIX em menos de 30 segundos
Ganhe 300% no seu primeiro depósito até R$2.000 para usar em caça-níqueis e jogos de cassino ao vivo. Depósito mínimo de R$20 e requisito de aposta de 35x.
Jogos: Slots, Cassino Ao Vivo, Apostas Esportivas, Crash Games, Jogos de Mesa · Bônus: Bônus de boas-vindas de 300% até R$2.000
L55 Apostas — Bônus de 100% no primeiro depósito via PIX
Apostas online justas, rápidas e certificadas
PIX em segundos: saque médio em ~48s sem taxa
Novo no L55 Apostas? Faça seu primeiro depósito via PIX e receba +100% de bônus para usar em crash, slots, apostas esportivas e muito mais. Sem código, sem burocracia — o bônus aparece no saldo automaticamente.
Jogos: Crash (Aviator, Spaceman), Slots, Cassino ao vivo, Apostas esportivas, Jogos de mesa (blackjack, bacará, poker), Bingo, eSports · Bônus: +100% no primeiro depósito via PIX + rodadas extras em títulos selecionados