Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Like/Dislike

Security covered Under active development 221 sites

This module allows authenticated users to "like" or "dislike" content. It enforces that a user can only have one vote per piece of content, either a like or a dislike. Administrators can also hide these voting buttons on a per-content basis.

Like/Dislike module can be used to Like and Dislike actions on any content. It is powered by Drupal field concept.

Features covered

  • Only Authenticated Users will be able to Like or Dislike on the Content.
  • Anonymous Users will be asked to Login or Register, when they click on Like or Dislike.
  • Each User can have either one Like or one Dislike, but will not have both on a particular content
  • Provides an option for Admins to Hide the Like/Dislike buttons on UI for a particular content.

Installation

  • Same as other drupal modules

Configuration

  1. The Like/Dislike field can be added to any Entity type (like Content types, Comment types etc).
  2. Lets consider a case of Article content type
  3. Add the like/dislike field to the article content type from the url admin/structure/types/manage/article/fields,
  4. Save the field with default settings.
  5. Add the content of article type
  6. You would be able to see Like and Dislike button on that article content.
  7. One can like or dislike the content.

Customization

  1. You can style the css class like_dislike, which is rendered on the content.
  2. One can create own field formatter for the like dislike field and render the like and dislike as expected.
Drupal 8–10 · not 11

Ask your assistant about Like/Dislike

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Jul 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
2.4.x-dev Dev 8–10 Jul 31, 2023
2.4.1 Stable 8–10 Jul 29, 2023
2.4.0 Stable 8–10 Jul 26, 2023
2.3.0 Stable 8–10 Jul 25, 2023
2.2.0 Stable 8–10 Jul 24, 2023
2.x-dev Dev 8–10 Jul 24, 2023