Drupal 8 Theming with Twig!

From Concept to Configuation

Fri. Jul. 8/16

Course description

Master Drupal 8’s new Twig templating engine to create fun and fast websites with simple steps to help you move from concept to completion.

Starting from the bottom up we will walk thru setting up and configuring a new Drupal 8 website. Navigate the Admin interface, learn how to work with core themes and create new custom block layouts. Taking a look at a real world project, we will create a Twig theme that adopts best practices to implement CSS frameworks and JavaScript libraries. We will see just how quick and easy it is to create beautiful responsive Drupal 8 websites while avoiding some of the common mistakes many front-end developers run into.

If you consider yourself a front-end developer you will be right at home, but since no PHP knowledge will be necessary, anyone who can create an HTML website with basic HTML and CSS skills will be able to leave knowing how to create a Drupal 8 theme.

All attendees will receive a digital copy of Chaz' book - "Drupal 8 Theming with Twig".

Learning Objectives

You'll come away from the course with knowledge of:

  • Best practices for Drupal 8 theming
  • How Twig fits into the front-end development process
  • Classy vs Stable vs Custom themes
  • Steps for developing a custom theme
  • How to work with assets, including JavaScript libraries

Syllabus

Course Outline:

  • Understanding Content
  • Working with Content types and view modes
  • How to best utilize Custom Blocks
  • Dissecting a theme
  • Core themes versus Custom themes
  • Creating a Drupal theme from scratch
  • Using libraries to manage theme assets (CSS, JS)
  • Twig fundamentals (syntax, conditional logic and filters)
  • Creating custom templates
  • Using Twig with Views to display content
  • Best practices for Drupal 8 theming

Who will gain the most from this course?

This course is ideal for designers and developers who have an HTML/CSS background and want to get into Drupal theming. It will also be useful for Drupal 7 front-end developers who want to upgrade their skills.

<>
Presenters
Skill Level(s): 
All Skill Levels
Audience(s): 
Developers, Front End Developers
Track(s): 
Training, D8
Tags: 
Twig, Drupal 8, Theming