In this course we will learn the fundamentals of control flow in Twig. We’ll learn what’s available to us to more carefully control how and when content is outputted in our Twig templates.
Control Flow is how we tell our program (or in our case templates) when and under which circumstances to process our statements. In Twig these statements could be including a new template, setting a variable, running macro, or using a Twig output tag to output something to the screen.
Here’s what we’ll cover in this course:
Get the entire Craft CMS learning path in some powerful package. This course plus 3 other make up everything you need to know to get started with Craft. It’s 60 videos and 8 hours of training.
This is an introductory-level Twig course. You should be a bit familiar with Twig code but a lot experience is not required. I created the course to help get better at building Twig templates. Where possible I kept this pure Twig but we do cover Craft-specific items toward the end of the course.
For most of the course do not but it would make it easier to have Craft installed and running so you can easily create Twig templates and render them in the browser. 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.
There are 14 videos in this course.
The video times vary but the total course time is 1 hour and 15 minutes. About the same length as your favorite feature film.
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.
We love feedback about our training materials. Please get in touch and let us know what you think.