clienttestimonials
# Client Testimonials Module
The Client Testimonials module provides a complete solution for collecting, managing, and displaying client testimonials on your Drupal site. It allows visitors to submit testimonials that site administrators can review before publishing, and offers beautiful, customizable display options including a carousel slider for showcasing feedback from clients.
Features
Custom testimonial content type with fields for client name, testimonial text, submission date, and optional client image
Frontend testimonial submission form with AJAX validation
Admin review interface for approving or rejecting submitted testimonials
Configurable testimonial display block with carousel functionality
Responsive design that looks great on all devices
Email notifications when new testimonials are submitted
Permission controls for viewing and administering testimonials
Customizable display settings including random or chronological order
Field for client image to add a personal touch to testimonials
Post-Installation
After installation, you'll find the module's settings under Configuration > Content > Client Testimonials. From here you can:
Configure email notifications for new testimonial submissions
Set default approval status for new testimonials
Customize the submission form's text and fields
To display testimonials:
Go to Structure > Block layout
Add the "Client Testimonials" block to your desired region
Configure block settings including maximum number of testimonials to display, display order, and image options
A testimonial submission page is automatically created at /testimonials/submit, which you can link to from anywhere on your site.
Additional Requirements
This module requires only Drupal core (version 9.x or 10.x).
Recommended modules/libraries
Swiper.js (included in many themes) - Enhances the carousel functionality
Token module - Allows for more customization of email notifications
Viewfield - Enables embedding of testimonial views in other content
Field Group - Helpful for organizing testimonial fields in the admin interface
Similar projects
While there are other testimonial modules available, Client Testimonials differentiates itself by offering:
A complete end-to-end solution from submission to display
Modern, responsive carousel display functionality
A focus on simplicity and ease of use without sacrificing customization options
Built-in review workflow without requiring additional workflow modules
Direct integration with Drupal's block layout system
Supporting this Module
This module is currently maintained by the developers who created it. If you find this module useful, you can support its development by:
Contributing code or documentation improvements on GitHub
Reporting issues and suggesting enhancements in the issue queue
Sponsoring development through the maintainer's GitHub Sponsors page
Community Documentation
Demo site: Visit the module demo to see the module in action
GitHub repository: Source code and documentation
YouTube tutorial: Setting up and configuring Client Testimonials
Installation
Install the module using Composer: composer require drupal/client_testimonials
Enable the module through the Drupal admin interface or via Drush: drush en client_testimonials
Configure permissions: Go to People > Permissions and set appropriate permissions for "Client Testimonials"
Add the testimonial block to your desired region in the Block layout
Customization
The module's templates can be overridden in your theme to match your site's design. The module provides the following templates:
testimonial.html.twig - For individual testimonial display
testimonial-block.html.twig - For the testimonial block display
CSS can be customized by overriding the module's CSS classes in your theme's stylesheet.