Theming in Drupal 8 is a bit different than it was for the previous versions, so there are plenty of things for the developers to catch up with or learn. We've tried to structure this course in a way that you will dive with each video a bit deeper than the previous one and that you will gradually learn all the basic concepts there are to know about Drupal 8 theming.
By learning theming - is meant learning to change the front-end of our Drupal 8 system. Just with site-building we could create the structure of our pages and prepare everything for the editors of the site, but there are also plenty of things there are to learn about the building of your own custom theme that will enable you to present all the content you have in your system the best possible way.
My main task with this course was to build up from the very basics and explain every part with as many examples as possible.
Let's go through the main sections and wrap up what each of them is all about.
In this section, I will introduce myself, the course and we will prepare our working environment.
This is the section in which we will learn all the basics of Drupal 8 theming. We will learn what is a theme. We will take a look at the purpose of the theme and we will install a theme from drupal.org. We will prepare the development settings for our course and we will check what are the base themes and we will go the whole process from declaring our theme, to declaring the libraries with all the CSS and the JS files that we will need. We will learn what are the template files and how to overwrite them in our own theme. We will learn a bit about the view modes, the node templates, page and html templates, about the regions and the views templates and in the end, we will take a look at the Render API and what we could do with it.
We will learn what is Twig, where in Drupal is Twig, how it works, how to use it and basically everything basic about it. We will learn how to print variables, how to loop over stuff and how to implement if statements. We will get to know some filters and functions and how to extend templates.
In this video, we will basically convert a static page into a Drupal 8 theme. We will prepare the theme configuration files, we will incorporate the CSS and JS files and we will massage the markup in order to turn it to the exact same version of the page, but dynamic and extendable. You will have all the start and all the finish versions of the files so that you could follow up and compare if you need to.
Thank you so much for the interest and I am looking forward to teaching you some Drupal.
The idea is though not just to be another platform with some boring videos but all the videos to be inspired by real-world problems. That means something that you will most probably need if you work with Drupal.
We want you to be successful and we want to teach you everything we know about Drupal!
So watch the videos, try to follow and reproduce, ask questions and you will see you will be able to conquer this wonderful sea that Drupal 8 is.