Disabling Comment Titles for Users in Drupal Updated on October 12, 2023 by Scott Mitchell 1 Minutes, 23 Seconds to Read One of the different settings you can adjust for your comments is the comment title, or the subject. By default, members are allowed to enter a title, or subject for their comment. If no subject title is entered, then one will be created by using the first 29 characters of the body of the comment. If you wish to make this the default setting, simply follow the instructions below. How to Disable Comment Titles for Users in Drupal Log into your Drupal admin interface. Look to the top menu bar on the page and click on the Menu tab. A second menu bar will appear. From there, click on the Structure option. From the Structure screen, find and click on the Content Types. The next screen is the list of content types currently in use on your site. Click on the Manage fields link on the dropdown to the far right of the row for the content type you want to adjust. In this case, we will be working with the Article type. This is the Article Settings page. This lists the various fields that are in use for the Article content type. Click on the Edit link from the dropdown on the right for the Comment Settings row. This is the Comment settings page. Look for the Comment Form Settings area and uncheck the checkbox entitled Allow comment title. Once the setting has been disabled, click on the Save settings button at the bottom to activate the change. Here you can see that when disabled, the member will not be given the choice of entering a custom subject or comment title when adding a comment. Before After Share this Article Related Articles Finding 404 page not found errors in Drupal 7 Removing the site title in Drupal 8 Content Types in Drupal 8 Disabling user images for posts and comments in Drupal 8 How to add an image in Drupal 7 How to upload your custom logo in your Drupal 7 theme Setting custom logos in your Drupal 8 theme Fixing the “An unrecoverable error occurred” error in Drupal How to Make a Duplicate Drupal Site How to Install a New Theme in Drupal
I found this in the Drupal forum: > (https://www.drupal.org/forum/support/theme-development/2011-04-15/remove-title-from-comments) Hope that helps!
from UI, you can disable “subject” fields just using, the “Manage Form Display” Tab in “Structure” => “Comment Type”.Anyway, this prevent to display subject fieald in the compilation form of the comment, but in display view, the field is still present (No Subject). :-(I’m fighting with this, but I think the only way is working on theme comment template 🙁
The option no longer appears at that location. Someone must have removed the option in one of the D8 updates. Is there another way to remove comment titles?