Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Star Rating Comment

No security coverage Drupal 10 · not 11
View on drupal.org

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.

Depends on

Dependencies of the latest stable release

  • webform Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Feb 2026
Latest release
6 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

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