Articles

In this video, we’ll show you how to add blocks from Youtube/Vimeo videos.
Video:
https://youtu.be/vpfcJQkNQww
PSD layout:
https://github.com/Drupalbook/bootstrap/raw/master/blueasy-freebie.zip


In the last lesson, we looked at how to compile LESS using the built-in watcher in PhpStorm. In this tutorial, we will create a theme based on SASS Boostrap. If you are unable to deal with LESS and compiling through PhpStorm, then you can try using Gulp and SASS. At this stage of the lessons, it doesn’t matter for us what to use LESS or SASS. But I would recommend that you use SASS and Gulp, because compilation is faster and easier to configure Gulp.


Before you begin development on Drupal 8, you must disable the cache. Unlike Drupal 7, in the 8th version of Drupal, not only entities, views, fields are cached, now compiled twig and render templates are cached. In order to disable all this cache, you need to do the following.
1. Copy the /sites/example.settings.local.php file to the /sites/default/settings.local.php file
This file already has the necessary settings to disable the cache


In past lessons, we have already looked at how to create a theme based on another Stable theme. In this tutorial, we’ll show you how to create a theme based on Bootstrap, a popular framework for quickly creating page layouts.
I think you already have Drupal installed. Let's move on to installing Bootstrap:


Drupal has very few ready-made beautiful and functional themes. But Drupal integrates very easily with all third-party libraries and services. So for example, you can make your theme based on Bootstrap and use all the power of Drupal. In this section of the drupalbook.org site, we will discuss how to create themes quickly and conveniently from any layout.
PSD layout:
https://drupalbook.org/sites/default/files/blueasy-freebie.zip


Drupal is not only a CMS, it is a platform for developing your web application. If you decide to create your own theme, then you will find several frameworks for this. In this article we will consider the most popular of them.
Bootstrap


Very often, the Views template does not suit us, so we can override the templates for Views. Unfortunately, there is no UI to search for the desired template in Views, but we can use patterns to redefine templates.
More about patterns in this article:
6.6. Working with templates in Drupal. What are the templates in the core of Drupal.
In particular, we are interested in this:
Below are the possible template names to override.
