Drupal 8 Theming
Week 2
Anatomie van een theme
A theme is a collection of files that define the presentation layer. You can also create one or more "sub-themes" or variations on a theme.
Thema
Html, CSS, JS
PHP
MySQL
API's
Sub-themes are just like any other theme, with one difference: They inherit the parent theme's resources. There are no limits on the chaining capabilities connecting sub-themes for their parents. A sub-theme can be a child of another sub-theme, and it can be branched and organized however you see fit. This is what gives sub-themes great potential.
Waarom een theme gebruiken?
Themes zoals:
Meestal slechte integratie
Weinig/moeilijk aanpasbaar
Focus: snel up & running
Themes zoals:
https://www.drupal.org/project/bootstrap
https://www.drupal.org/project/zurb_foundation
https://www.drupal.org/project/neato
Goede integratie
Componenten van frameworks werken Out of the box
Meestal inclusief startertheme
Veel custom werk
/core/themes
$ drush cr
/admin/reports/dblog
In Acquia Dev Desktop
Click on Acquia Dev Desktop
=> Preferences => Logs => View Apache Errors
Requirements