Disabling Comment Titles for Users in Drupal

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

  1. Log into your Drupal admin interface.
  2. the configuration screen for the module

    Look to the top menu bar on the page and click on the Menu tab.

  3. the configuration screen for the module

    A second menu bar will appear. From there, click on the Structure option.

  4. the configuration screen for the module

    From the Structure screen, find and click on the Content Types.

  5. the configuration screen for the module

    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.

  6. the configuration screen for the module

    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.

  7. the configuration screen for the module

    This is the Comment settings page. Look for the Comment Form Settings area and uncheck the checkbox entitled Allow comment title.

  8. 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.
    BeforeAfter
    menu list before the change

    menu list before the change

5 thoughts on “Disabling Comment Titles for Users in Drupal

    1. 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!

  1. 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 🙁

  2. 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?

Was this article helpful? Join the conversation!

Server Madness Sale
Score Big with Savings up to 99% Off

X