filmov
tv
Drupal 8 Site Building: Adding Comments
Показать описание
By: Ivan Zugec
If you want to communicate with readers on a blog, the best way to achieve this is by setting up comments. If you’re happy to deal with spam and the occasional troll, then comments are great for communicating with readers and fostering a community.
The functionality has changed a lot in Drupal 8. In Drupal 7, the comments system was fairly rigid. You could only use them on content types and only have a single comment type. If you needed to support multiple comment types like review or feedback, you were out of luck.
In Drupal 8, the comments system has been rebuilt. They can be attached to any entity type by adding a “Comments” field. You can also now have different comment types. This allows you to do all sorts of things like having public and private comments on a single content type.
In the last tutorial, we created a Blog content type and added fields to it. Let’s continue working on it by adding support for comments. We’ll configure the user permissions so that comments can be submitted anonymously, but will need to be approved before they’re published.
If you want to communicate with readers on a blog, the best way to achieve this is by setting up comments. If you’re happy to deal with spam and the occasional troll, then comments are great for communicating with readers and fostering a community.
The functionality has changed a lot in Drupal 8. In Drupal 7, the comments system was fairly rigid. You could only use them on content types and only have a single comment type. If you needed to support multiple comment types like review or feedback, you were out of luck.
In Drupal 8, the comments system has been rebuilt. They can be attached to any entity type by adding a “Comments” field. You can also now have different comment types. This allows you to do all sorts of things like having public and private comments on a single content type.
In the last tutorial, we created a Blog content type and added fields to it. Let’s continue working on it by adding support for comments. We’ll configure the user permissions so that comments can be submitted anonymously, but will need to be approved before they’re published.
Drupal 8 Site Building, Lesson 11: Adding Fields
Drupal 8 Site Building: Adding Comments
Drupal 8 Site Building, Lesson 34: Adding a Theme
Drupal 8 Site Building: Content types and Fields
Drupal 8 Site Building: Using Views
Drupal 8 Site Building, 11.5: Browse Assets using Entity Browser
Drupal 8 Site Building, Lesson 28: Adding a Custom Block
Drupal 8 Site Building, Lesson 13: Adding Fields to Taxonomy Terms
1. Welcome to 'Drupal 8 Site Building'
Drupal 8 Site Building, Lesson 16: Add Fields to User Profiles
Drupal 8 Site Building, Lesson 35: Creating a Custom Drupal Theme
Drupal 8 Site Building, 11.2: Store Assets using Media Entity
Drupal 8 Site Building, 10.3: How to Display Different Variants
Drupal 8 Site Building, 10.2: How to Create a Custom Page
Drupal 8 Site Building, Lesson 22: Installing the Video Embed Module
Drupal 8 Site Building, Lesson 14: Adding Taxonomy to a Content Type
Drupal 8 Site Building, Lesson 24: Displays, Layouts, and Theming
Drupal 8 Site Building, Lesson 47: Add an Editor Role and Permissions
Getting Started With Layout Builder for Drupal 8 & 9
Drupal 8 Site Building, Lesson 36: Display Suite and the Layout Plugin Module
Drupal 8 Site Building, Lesson 46: Update Signup Configuration
Drupal 8 Site Building, Lesson 32: An Advanced Relational View
Drupal 8 Site Building, Lesson 21: Installing the Admin Toolbar Module
Drupal 8 Site Building, Lesson 20: Introduction to Modules
Комментарии