Drupal 8 – Comment settings

d88

Drupal provides the capability for visitors to your website to post comments about your site’s content. To try it, click the Edit tab next to the title of your content item, or hover over your content item and click the pencil icon and select Edit. In the right column of the content editing form, click Comment Settings.

Two options are presented: Open, the default option, which allows site visitors to post comments to a content item created with this content type, and Closed, which precludes visitors from posting comments. There may be cases where you don’t want visitors to have the ability to post comments.

Try both options to see the difference in how the content appears on your site. Leave the Open option selected and click the “Save and keep published” button. You’ll see your content with the Add new comment form displayed immediately beneath the content. Edit the content and select the Closed option and click the “Save and keep published” button. You’ll notice a significant change in how your content item is displayed, because comments will no longer appear.

With the default settings of Open, visitors to your site can now write and publish comments in response to your content item. Try entering a Subject and Comment and then clicking Save. Your comment should now appear in the Comments section. By the way, there are many good Drupal developers that share tutorials on their blogs and sited.

As the content author (or as an administrator of the site), you can delete, edit, or reply to a comment by clicking the links under each comment. Comments typically appear in chronological order. As the site administrator, you have the ability to specify how comments are displayed: either the newest comment at the top of the list or the first comment posted at the top of the list.

Turning comments on and off at the individual content item provides absolute control over which items accept comments. You can also set whether to accept comments at the content type level, meaning every content item created using that content type will “inherit” that setting.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s