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

30/08/2019, by mikhail
Drupal 8 theme

Starting with this article, we will do our theme thing on Drupal. In this section of the tutorial, we will analyze the basics of the topic on Drupal, where what lies, how to include and use CSS, JavaScript. To do your theme will be based on the theme-builder of the core Stable. If you want to learn Drupal, then Stable is a great start. If you want to learn Drupal, then Stable is a great start. You should not start with Bootstrap, you will constantly have questions and errors.

Drupal 8 theme
30/08/2019, by mikhail
Drupal 8 theme

In Drupal 7, you could quickly and easily make a subtopic on Zen and start building your website. Since Drupal 8 there are also several theme builder for creating your own themes. But before doing subtheme on them, you will need to figure out a little where where is located.

Drupal developers suggest that we consider the Stark example theme. This topic has been added to Drupal, just to familiarize yourself with how the theme is arranged. Let's see what lies inside this theme:

Stark.info.yml file

Drupal 8 theme
30/08/2019, by mikhail
Zen Drupal

Zen is the most popular builder theme for Drupal. If you need to quickly make a responsive design for a site based on three column layouts, then Zen is what you need. You just install it and run npm install and zen prepares you the foundation for your design. Let's take it in order.

Download the Zen parent theme from the official website:

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

Since Drupal 8 we can put themes directly into the / themes folder, so we put the folder with the theme there.

Zen Drupal
29/08/2019, by mikhail
jQuery OwlCarousel

In the last article, we made a slideshow using Views Slideshow. But we still have an unstylized paginator with small pictures.

In this article, we will look at how to add OwlCarousel and add CSS using an additional library.

In this article, we use a custom module to connect OwlCarousel, but next time we will stylize the slideshow in the files of the theme.

https://drupalbook.org/sites/default/files/inline-images/drupalbook_owlcarousel.zip

jQuery OwlCarousel
28/08/2019, by mikhail
core

Drupal uses the new Twig template engine. Therefore, all topics were redone for him. Let's go in and see what lies in the /core/themes folder

drupal 8 theme

We have a Twig template; builder themes classy, stable, stark; ready-made themes bartik, seven.

Template Twig

Drupal incorporates part of the Symfony libraries:

core
28/08/2019, by mikhail
theme

The theming in Drupal 8 has been changed. This is primarily due to the transition to object-oriented programming and the use of the twig template engine. If earlier it was enough to learn a little PHP, HTML, CSS and start creating your own theme, now you need to figure out twig as well. On the one hand, this complicates the development of Drupal, but on the other hand simplifies the development process.

theme