Troubleshooting

1. Reactions do not appear on the entity

Issues:

  • The entity page shows no reactions at all.

Fixes:

Overview

How it works

Voting API Reaction provides a "Reaction" field type. When the field is added to an entity type, visitors see a row of reactions (like, love, laughing, surprised, sad, angry by default) on each entity and can pick one of them. Clicking a reaction submits it via AJAX; a no-JavaScript fallback with a submit button is included.

Under the hood, every reaction is a Voting API vote type, and every submitted reaction is stored as a Voting API vote. This means:

Install and configure

Installation

Install the module with Composer and enable it:

composer require drupal/votingapi_reaction
drush en votingapi_reaction

Or enable "Voting API Reaction" on the Extend page (/admin/modules); the "Voting API" dependency is enabled automatically. Enabling the module creates the six default reaction vote types with bundled SVG icons.

Voting API Reaction

Install and customize Voting API Reaction

The Voting API Reaction module lets users react to any content entity with predefined or custom reactions, similar to the reaction features on Disqus, Facebook, Twitter, or Instagram. Reactions are regular Drupal fields built on top of the Voting API module.

Subscribe with RSS Subscribe to RSS - votingapi reaction