Mikhail Ismajlov 07/23/2019

The blog module is now not included in the Drupal core and can be downloaded from the module page:

https://www.drupal.org/project/blog

It is installed as well as all other modules. Drupal 8 is a ready-made blog platform, you only need to enable the CKEditor module for more convenient editing. Enable it if it is not enabled.

Now you need to configure the CKEditor module, go to Menu - Configuration- Text formats and editors and click the settings for Plain Text.

drupal text format Let's choose to use CKEditor for this format.

plain text Plain text is intended for all types of users and it doesn’t display html tags by default, if you want to use text for your blog, it’s better to create another input format, for example Text with HTML.

add text format

We write the name of our new text format and choose the roles that will use this text format, we also need to choose the use of ckeditor:

new text format

Next you will need to configure the filters.

text format

We need to select Limit allowed HTML tags and correct faulty HTML that users cannot insert html tags that we do not need.

We do not need to choose Display any HTML as plain text, because the filter will be text format Plain text. All other filters you can choose at your discretion.All other filters you can choose at your discretion.

Another important point is the text formats are applied from top to bottom.if we are anonymous users, then we cannot use the Text with HTML, but an authorized user can, therefore, it is important for us that the authorized author has an text format for Text with HTML.

text format

Now you can create content through the visual editor

ckeditor

You can also add buttons to our visual editor. Return to the Text format setting with HTML and drag the necessary button icons to the Active toolbar:

Ckeditor

Now it remains for us to make all new articles appear on the front page. Let's go into editing the content type Article (or your other content type):

publication

It is important for us to have this check mark, it will allow to publish all new content types on the front page.Now you need to put in the site settings so that all our nodes appear on the front page.First, we will turn on the Views, Views UI modules, it is Views that bring all content types to the front page in Drupal 8.After we enabled the Views and Views modules on the Site Information page, set the path of the front page / node:

site settingssite settings

Well, that's all the blog is ready, all the teaser of materials will be published on the front page. In the next lesson we will deal with the categories of our posts so that you can set the headings of our blog.

blog drupal8 In previous versions of Drupal, the blog module was used for the blog:

https://drupal.org/project/blog