Yesterday, Andrew Welch and I did our first CraftQuest on Call livestream of 2025. We caught up on Craft CMS news (5.6 coming soon!), a bit about Datastar, and then jumped into an overview of Element Types in Craft CMS.
A question came up recently on Discord about how to access the path and name of a child template within a parent template. The answer to this was straightforward but also demonstrated the implications of context or scope in Twig.
So, I set off to make a lesson about it.
This video takes a look at how Twig context works and how we can use it to make data and variables available across templates.
For me, Feed Me remains a powerful tool for migrating data into a Craft CMS project. It could certainly use some love and attention, but it's been a core tool for me for years.
That being said, sometimes the data we're trying to import with Feed Me isn't in a standard format or structured as needed. To work around that, we can manipulate the data before Feed Me imports it.
In this lesson, I walk through how to use Feed Me events in a Craft CMS module to alter the data before Feed Me parses it, and then again after it parses it. We have a problem feed that isn't valid JSON and then need to break out categories from a comma-separated string to an array.
All of this is done with just a few lines of code in a custom module. Watch the lesson to learn more!
I opened a Discord server for CraftQuest premium subscribers. The link to join is available on the Community page of the site. Make sure you're logged into your account and then join us in the Discord server!
Why Discord?
I wanted a way to chat with the CraftQuest community that wasn't over email or other platforms. This isn't a replacement for the official Craft Discord server; it's a complement to it that, I hope, will be valuable to CraftQuest premium subscribers.
💡Craft CMS 5 Learning Materials
Whether you're new to Craft CMS or just to Craft 5, these materials will help get you on your way. They also make a great list to pass along to colleagues new to the CMS!