This bundle is made up of 4 professional courses: Up and Running with Craft, Twig Templates in Craft, Control Flow in Twig, and Flexible Twig Templates in Craft. 60 videos and 8 hours of learning. Put together they create the fastest, most reliable way to go from zero to building Craft-powered websites. This bundle easily pays for itself with just a few billable hours of client work.
Craft is a powerful and flexible CMS that takes a content-first approach. Need a primer on using Craft before embarking on your first site build? This course is for you.
This is a beginner course that teaches the basics of using Twig in Craft. If you took the Learning Craft course, this course will help you get even better at building sites with Craft. The goal is to get over the hump of writing Twig code, dispel any myth that using Twig is difficult, and help you take the next step in using Craft.
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.
In this intermediate level 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.
In this video course, plugin developer Ben Croker will guide you through the concepts you need to learn to build Craft plugins. But this isn’t just a boring list of instructions. No way. Ben walks you through how to build an actual, working plugin. It’s called Entry Count. Watch the video to learn more about what Ben covers in the course.
A hands-on tutorial that will help you build a real-world Craft plugin to track all user visits to your site. It is a follow-up to the Craft Plugin Development Video Course, which is a prerequisite, as is familiarity with the Entry Count Plugin.
In this course we’ll cover how to install and configure Craft Commerce, how to use it to build a store for physical products, all the while learning some best practices along the way. By the end of this course you will be ready to implement you first e-commerce website using Craft Commerce. We work on this together and I’ll be here each step of the way.
Build a JSON API for your Craft-powered website using the Element API plugin from Pixel & Tonic.
In this excerpt from Up and Running with Craft, we step through how to prepare for and install the Craft CMS.
We set up and configure both Google Cloud Storage and Amazon s3 so we can upload and serve assets remotely in Craft.
In this lesson we use the first-party Contact Form plugin to create a simple contact form in the Craft CMS.
A look at how you can make your Craft plugins work in Craft 3 Developer Preview.
Ryan walks through how we can use translations in Craft to change the name of Singles to Pages and Structures to Nested Pages.
A short overview of the new features in Craft 3 (beta).
Installing Craft 3 beta requires Composer. This video will cover how to install Composer for use in Craft 3 (and anything else, really).
A short lesson on how to install Craft 3 beta.
In this lesson Ryan shows how to use Composer to update Craft 3 Beta to the latest release.
Ryan steps through how to upgrade a Craft 2 site to Craft 3.
How to enable and use the Yii Debug Toolbar in Craft CMS 3.
Ryan takes a quick look at the new image editor in Craft 3.
Filters in Twig and Craft allow you to alter the contents of a variable. This could be a variable you set right in the template or one that is part of the data output provided by Craft (like when retrieving and looping through section entries).
We work on the Crafty Brewery site and use categories to assign beer styles to our recipes.
The basics of setting and using Twig variables right in your Craft CMS templates.
Twig offers special `loop` variables that makes it easy to know which iteration of the `for`-loop, for example, we are on. This allows us to do different styling, markup, or other condition-based things. Let's learn the different variables and how we can use them in Twig and Craft.
In Twig, key value pairs are called hashes and they are a handy way to store data right in your templates. In this tutorial we'll learn the basics about Twig hashes and then iterate over one to create a website navigation.
Templating in Craft using Twig can, at first, be a little confusing. If you, like me, come from other systems that have a proprietary template tag system, then it might take a little time to wrap your head around how Craft and Twig work. But once we learn about the different types of tags things will be clearer and you'll discover the power of using Twig in Craft. This tutorial will give you the direction and guidance you need to get started.
Macros are the Twig version of functions. Just like you would write a function in PHP to do something and return something, you can use a Twig macro to generate some output. Macros are used for generating often used markup that might vary slightly each time. You put your skeleton markup in the macro and use parameters passed in to alter that markup and then output it. This tutorial covers how to generate modifiable markup using Twig's macros.
When things go wrong, it's good to know how things work. It makes us better troubleshooters. This tutorial covers how Craft routes to templates when there are no other matches.
How to use Twig in a more "programmy" way than just having it output your CMS content for you. This tutorial walks you through the steps to create an age drop-down using Twig's
range() function. You can do this tutorial in Craft or any CMS that supports Twig.
This is a part of an interview with Craft Plugin Development course author Ben Croker. Ben had a lot of great stuff to share about how he got started developing add-ons and more; this is the first part.
Ben Croker covers three things you should know about Craft plugin development.
Author Ben Croker offers up some links and thoughts to inspire you to start creating your first Craft plugin.
In the short video Ben walks through the changes he needs to make to the Entry Count plugin (that's the plugin he builds in the course) so it will work with Craft 3.
This episode is all about the Craft CMS by Pixel & Tonic. I’m joined by Stephen Lewis of Experience, a web development consultancy based in Cardiff, Wales. Stephen is the maintainer of the Craft Cookbook and has worked creating add-ons for Craft for his client work. He also regularly blogs and writes about web development, including Craft.