This project is not covered by Drupal’s security advisory policy.

Overview

OGCB Likes is part of the Open Government Community Builder (OGCB) — a Drupal site template for building community platforms. This module provides a configurable block that displays which users have liked a piece of content using the Flag module. It shows a summary of usernames (e.g. "Anna, Max and 3 more") and opens a dialog overlay with the full list on click.

Features

  • Summary + Dialog — Compact summary of names with a native HTML dialog overlay for the complete list.
  • Configurable summary limit — Set how many usernames are shown before "and X more" (per block instance).
  • Configurable sorting — Sort by date liked or username, ascending or descending (per block instance).
  • Access control — Block is only rendered for users with the flag like_node permission. No HTML or JavaScript is loaded for unauthorized users.

Requirements

A like_node flag is automatically created on install. Configure the bundles (content types) it applies to at /admin/structure/flags.

Supporting organizations: 

Project information

Releases