Install

Works with Drupal: ^8 || ^9

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 55.49 KB
MD5: e3dc05e4ad403434a61bec38dc6baedf
SHA-1: 0e973b6bc07daa375ea922f1037acfb771410971
SHA-256: 310c2e5b5470669477229ad5ae7290770dc574feecea7d575c12c5d68148c03b
Download zip 89.34 KB
MD5: 418833444cbf9a514f82bd92d3cc7647
SHA-1: aea3e00a7bddb3f2f2a35cdcf452b056056d34e7
SHA-256: 5ff172054c1a6d5f11039bcf0d316bf74e9018381287dd240aabaf1875fa4533

Release notes

First alpha release of Rate 8.x-2.0

This branch adds the following functionality:
- Multiple rate widgets on a single entity possible
- Single rate widget on multiple entities possible
- Voting on comments and other entity types
- Result functions per widget/entity combination and entity summary (multiple widgets)
- Customizable result summary (twig-template)
- Up/down (number up/down, thumbs up/down, yes/no) voting
- Fivestar voting (can determine number of stars) and Emotion widget
- Voting Results tab for nodes
- Voting via AJAX only
- Undoing votes by clicking on the voted option
- Widget label, description and result summary customizable
- Position of label, description, result summary (relative to widget or hidden)
- Disable widget (Read-only widget) based on permission, rollover, user setting
- Vote rollover for registered and anonymous users
- Voting deadline field in the voted entity (locking the widget if date passed)
- Views integration - just add a field holding the ID of the entity to vote and the rate widget (with customizable display)

The API offers several hooks to override option values, create custom templates or have a custom workflow to determine, whether a user can cast a vote or not.

CAUTION: There is no direct upgrade path from 8.x-1.x to 8.x-2.x, as both versions are using completely different concepts to create and store the rate widgets. You will have to recreate your custom rate widgets manually in 8.x-2.x.

Created by: jordik
Created on: 5 Feb 2021 at 22:35 UTC
Last updated: 26 Jan 2022 at 21:27 UTC
New features
Insecure
Unsupported

Other releases