Full introduction to Drupal 8 theming in easy steps
- 6 hours on-demand video
- 2 articles
- 3 downloadable resources
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- Understand what Drupal 8 themes are
- working with template files
- Change any markup of a Drupal 8 website
- understanding the preprocess functions in Drupal 8
- Understand the core concepts of the Twig templating language
- create a Drupal 8 theme
- install Acquia dev desktop
- install Drupal 8 with the help of Acquia dev desktop
As you are installing Drupal - please refer to this issue -> https://www.udemy.com/full-introduction-to-drupal-8-theming-in-easy-steps/learn/v4/questions/4275486
There is well explained how to tackle your problem with installing a local Drupal instance that contains underscore in it's name
After this video you will have a better understanding about what a theme in Drupal 8 is.
- some more info about the Appearance tab
- the folder structure of the Drupal themes folder
- check the existing themes on drupal.org
- install an existing theme from drupal.org
- the Integrity theme:
Here are the simple steps:
1. Copy the sites/example.settings.local.php to sites/default/example.settings.local.php
2. Rename sites/default/example.settings.local.php to sites/default/settings.local.php
3. Move to the bottom of the sites/default/settings.local.php and uncomment the including of the settings.local.php file.
4. Copy the content of the sites/default/default.services.yml to sites/development.services.yml
5. Activate twig debug by changing the value of parameters > twig.config > debug to true in the sites/development.services.yml
6. Disable twig cache by changing the value of parameters > twig.config > cache to false in the sites/development.services.yml
7. Clear the cache in the Drupal instance by going to Configuration > Performance ( /admin/config/development/performance ) and click on Clear all caches
- prepare our new theme
- add a screenshot to the theme
- copy the files from the static version
- create assets library
- Some experience with HTML and CSS and a tiny bit of PHP
Drupal 8 is out and from now on - every new Drupal website should be using the latest version of this wonderful Content Management Framework.
That means that we should learn to change the front-end of our Drupal 8 system - the way we need it.
There are two main things that are changing the game in the Drupal 8 theming
- Drupal 8 is built on top of Symfony framework
- There are lessons learned from Drupal 7
that means that now the theming of a Drupal website is a bit different - everything is much more structured (almost all the markup is in template files), the templates are using Twig and everywhere one has to deal with code - one finds objects and classes.
In the end - it is not as scary as it looks like - simply everything evolved into something much better, much simpler and elegant, something that is not applicable only in the context of Drupal and that is following general web-development best practices.
In this course I tried to explain the general topics the shortest and the clearest way possible as afterwards I tried to illustrate everything with some simple examples. My opinion is that when you see some simple example working and when you try it by yourself - you already have the tools to investigate further and find exactly what you need to be done.
I've been doing drupal-development and theming for many years now - so I know what exactly are the topics that are needed the most - I tried to include all of those and in the end I wrapped all that was learned in an example website that we will convert together form a static html-css version into a working Drupal 8 theme.
Lets conquer together the Drupal 8 theming layer!
- newbies to Drupal 8 that want to get started with Theming
- Drupal 7 developers and/or people with any Drupal experience that want to learn how the theming in Drupal 8 is being done
- people that have a Drupal 8 website and want to change it's look
- developers that want to see how Drupal 8 theming is being done