Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module provides a 5-star rating system for your Drupal website, allowing users to rate content and leave comments. It integrates with the Webform module to store and manage rating data, and offers blocks to display the rating widget, rating summaries, and average ratings.

The Star Rating comment module provides a versatile and easy-to-use 5-star rating system for your Drupal website.
It allows users to rate content and provide comments, with powerful Webform integration for storing and managing submission data.

Features

  • 5-Star Rating Interface:
    A clean and intuitive interface for users to submit ratings.
  • Comment Support:
    Users can leave a comment along with their rating.
  • Webform Integration:
    Leverages the power of the Webform module to store rating and comment data,
    allowing for flexibility in data capture and management.

Display Blocks

  • Star Rating Block:
    The main block to display the rating widget.
  • Star Rating Summary Block:
    Shows a detailed breakdown of ratings
    (e.g., how many 5-star, 4-star, etc., ratings).
  • Star Rating Average Block:
    A read-only block that displays the average rating
    for a piece of content.

Extra Field

  • Star Rating Average:
    Provides an "extra field" that can be enabled on any content type
    to display the average rating directly with the content.

Flexible Configuration

  • A settings page to map the rating fields to a specific Webform
    and its elements.

Use Cases

  • Rating articles, blog posts, or other content.
  • Product reviews for e-commerce sites.
  • Feedback on services or resources.

Post-Installation

1. Create a Webform

Before using the Star Rating module, you need to create a Webform to store the rating data.

This Webform should include the following fields:

  • Rating:
    (e.g., a Radios or Scale element with values from 1 to 5)
  • Comment:
    (e.g., a Textarea element)
  • Entity ID:
    (e.g., a Hidden or Textfield element that will store the ID
    of the content being rated)

2. Configure Star Rating Settings

  1. Navigate to /admin/config/star_rating/settings
  2. Select the Webform you created.
  3. Map the Webform's elements (Rating, Comment, and Entity ID)
    to the corresponding fields in the settings form.

3. Place the Block

  1. Go to the Block layout page: /admin/structure/block
  2. Place the "Star Rating" block in the desired region.
  3. It will automatically appear on content pages.

Requirements

Maintainer

Developed and maintained by the Drupal community.

Activity

Total releases
2
First release
Feb 2026
Latest release
5 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0 Stable Feb 12, 2026
1.0.x-dev Dev Feb 12, 2026