Drupal like (Flag counter)

Categories

Component ID

1386132

Component name

Drupal like (Flag counter)

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

12629

Component created

Component changed

Component body

This module provides Facebook-like "Like" functionality using the Flag and Lightbox2 modules.

It appends a string to the flag link that displays the number of times a piece of content has been flagged. Different strings for different flags can be configured.

For example:

like (5) -> unlike (6)
bookmark (10 times) -> bookmarked (11 times)

Dependencies:

Flag

Since this module majorly depends on the Flag module, the version numbering of this module follows that of the Flag module. So 7.x-3.x of this module works with 7.x-3.x of the Flag module and 7.x-2.x of this module works with 7.x-2.x of the Flag module.

Views

This module depends on Views to display a list of users who have flagged content.

Recommended:

Lightbox2

Without Lightbox2, the list of users who have flagged content will show on a separate page in plain HTML. As of 2016-11-26, the 7.x-3.x-dev version of this module improves the default behaviour to use CTools to display a modal when Lightbox2 is not present.

JS and corresponding code for the module was done by leeotzu