Video Course

Flexible Twig Templates in Craft

by Anthony Colangelo

Learn how to implement the ultimate Twig template stack in Craft. Taught by Ryan Irelan. Read the full description

$29.99

Get immediate access to the course.
Secure checkout.

Start Watching for Free

What's in this Course?

In this course Ryan teaches the Flexible Template Stack, an approach put together by developer Anthony Colangelo. The Flexible Template Stack in Twig and Craft allows you to have reusable templates that can render content from any section of the site. This is a setup you can use over and over again on your Craft-powered projects.

 


There are dozens of ways to structure your templates in Craft. You could keep them simple and have a single layout file and a bunch of templates for each Section. There’s nothing wrong with that approach. Or you can leverage the power of Twig and create truly flexible, multi-use templates that can serve content from any section of the site with ease. That’s what we’ll do in this course.

Together we’ll learn about a powerful template stack–a collection of templates that work together to render the site pages–that allows you to reuse template code and even create new sections with almost no template changes.

This is an intermediate level course for people looking to improve how they code their Craft sites and set up Twig templates. You should have some experience working with both Craft and Twig (or have taken the two Craft fundamentals courses from Mijingo).

Want to try it out? You can start the course for free and get a feel for what you’ll learn.

$29.99

What is the difficulty level?

BeginnerExpert

This series is an intermediate level Twig and Craft course. You should have previous experience with Craft and be comfortable working in the Control Panel and with Twig templates. The Craft Starter Pack is a recommended pre-requisite.

Do I need a Craft Client or Craft Pro license to follow along?

You can download Craft for free. Run it on your localhost at craft.dev and you can access all of the features without purchasing a license. The course sample site has multiple sections, which requires a paid license on a public website. See more about Craft licensing

How many videos are there?

There are 17 videos in this course.

...and how long is each video?

The video times vary but the total course time is 1 hour and 38 minutes. About the same length as your favorite feature film.

Where do I get the code you use?

The sample site template code is available in your account after you purchase the course. There is also a database you need to import as a starting point for the course. Don't forget to download it!

What if I need to use them with my co-workers?

There is a Team Pack available, which allows you to share the screencasts with up to 5 people in your company or the Company license, which allows you to use the videos with up to 25 people. You can choose the proper license when you add the video series to your cart.

What if I have a suggestion?

We love feedback about our training materials. Please get in touch and let us know what you think.

Get in touch