Install
Works with Drupal: ^8 || ^9Using Composer to manage Drupal site dependencies
Alternative installation files
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.