Courses
Videos
Livestreams
Contact Support
Community
Get Help with Your Project
About CraftQuest
1
Lessons
4
How to create custom Twig filters and functions in Craft CMS.
Here's a summary for a video description: Learn how to use template hooks in Craft CMS to customize your website! Template hooks let you add code and inject dynamic HTML into your site's templates without touching the original files.
Ryan and Andrew go big picture on Twig and then show a clever way to make Twig macros work like functions.
Andrew share details of his Twigfield plugin that provides a twig editor field with Twig & Craft API autocomplete
We discuss a StackExchange question about how to compute values dynamically for entry data.
Andrew and Ryan show how Xdebug profiling works, investigate IDE autocomplete, and answer your questions about web development.