Drupal 8 Theming with Twig

Date and Time: 
Thursday, October 20, 2016 -
08:00 to 17:00

Trainers: Forum One and Chaz Chumley

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

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.

Prerequisites for this course

  • You should have PHP 5.6 or greater installed locally prior to this training.
  • Have a version of MySQL installed with ability to do a database restore.
  • Understand how to work with HTML5, CSS3 and JavaScript libraries

Dev Environments

Before the course, we’ll send instructions on how to set up Composer, Drush and Drupal Console for use on your laptop.

Forum One

Skill level: 
Intermediate
Location: 
ASUC Student Union Building - Martin Luther King
Room: 
Stephens Lounge - ASUC
Registrations Remaining: 
None; the training is full.
You are NOT registered for this training.

Secure your seat today with a $20 fully-refundable deposit -- openings go quickly, and classes will fill up fast.