logo

Extra Block Types (EBT) - New Layout Builder experience❗

Extra Block Types (EBT) - styled, customizable block types: Slideshows, Tabs, Cards, Accordions and many others. Built-in settings for background, DOM Box, javascript plugins. Experience the future of layout building today.

Demo EBT modules Download EBT modules

❗Extra Paragraph Types (EPT) - New Paragraphs experience

Extra Paragraph Types (EPT) - analogical paragraph based set of modules.

Demo EPT modules Download EPT modules

Scroll

Articles

09/08/2019, by mikhail
text

Drupal sites are usually made in order to put on the Internet. And when you post a site, it becomes available to the whole world, including spammers and crawlers looking for the opportunity to post spam and their code on your site. Drupal has checks and text filters to find and neutralize code from your data entry forms (you can read more about XSS attacks).

Let's go to Configuration - content authoring - Text formats and editors:

/admin/config/content/formats

text
09/08/2019, by mikhail
interface

Perhaps you have pages on the site where you go most often, maybe reports, orders, content and comments. This is very useful for a client who will visit the site only on certain pages. To do this, you can use shortcuts with quick links to important pages:

/admin/config/user-interface/shortcut

drupal 8 shortcut

interface
07/08/2019, by mikhail
settings

Drupal admin panel provides extensive site management features. In the following articles, we will cover each item on the Configuration page:

/admin/config

If you worked with Drupal 6, Drupal 7, then this admin panel is already familiar to you, because most of the things have passed to the 8th version. And for those to whom Drupal is a new CMS, we will begin to consider everything in order.

settings
06/08/2019, by mikhail
menu

Drupal, like many other CMS, allows you to combine links to pages in the menu. You can add new menus and links to them when creating new pages.

After installing the standard version of Drupal, we have 5 menus.

Drupal menu

Main navigation - this is the previous menu from Drupal 7 main-menu (primary links). By default, there is a link to the home page.

menu
05/08/2019, by mikhail
gallery

Often on the site you need to display the image in a popup window, for this in the Drupal there is a very popular Colorbox module:

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

composer require drupal/colorbox

drush en colorbox

After installation we need to go to the module folder, find the README.txt file and find a link to the colorbox library

/web/modules/contrib/colorbox

gallery
05/08/2019, by mikhail
News

Views module is one of the most popular modules. It allows you to display any data you want News, Articles, Comments, Taxonomy terms in the form of blocks, pages, RSS feeds, CSV files, XML files, and in many other formats. And finally, in Drupal 8 Views in the core! Now it does not need to be installed, Views is in the standard installation.

Let's include on Views and start displaying the data.

Create the content type News.

News
31/07/2019, by mikhail

Drupal is able to work, not only with text pages, but also with images. To do this, you need to enable the Image module. The image module allows you to attach photos to the nodes and display these photos in the size we need. And in different places, these sizes may vary. So for example in the teaser of the node we can take a small photo, and in the full node it is already a big one.

In the past lessons we created the content type Employee. Let's open up the control of the content type fields Employee and add an image field.