In this course we are going to learn how to create a custom field type for Craft CMS. You may be watching this because you’re curious about how to extend Craft or, more likely, you find yourself in need of a custom field type for Craft and want to know how to build it.
I am the creator of CraftQuest, a web developer, and former software team manager. I spend most of my time improving CraftQuest with code and courses. When I'm not in front of the computer, I spend my time with my family, and running on the roads and trails of Austin, TX.
Creating a Craft CMS Field Type is made up of the following videos:
|1||Introduction to Creating a Craft CMS Field Type||Our goal with this course is learn the different pieces of a custom field type in Craft CMS and how easily we can bring them together to build something that we need for our site.||02:31|
|2||What is a Field Type in Craft CMS?||Field types in Craft can be any of those but what makes a field type a Craft CMS field type is the HTML element it uses plus the functionality it provides.||02:13|
|3||Examples of Field Types in Craft CMS||Craft CMS provides a bunch of field types as part of the core application. Some of the field types are specialized to Craft CMS functionality, like the Assets field or the Matrix field, and others you can get on the Craft Plugin Store.||04:22|
|4||Setting Up a Craft CMS Module for a Field Type||We’re going to use the Craft Module starter module that is available on my Github account. Installing it is as simple as following the instruction. Let’s walk through these together.||04:51|
|5||Building a Craft CMS Dropdown Field Type with Static Data||The first Craft CMS field type we’ll build in this course is a dropdown that allows us to create a dropdown of world languages.||19:43|
|6||Building a Craft CMS Drop-down Field Type with Craft Commerce Data||We build a Craft field type from Craft Commerce data.||13:19|
In this course we are going to learn how to create a custom field type for Craft CMS.
In this course, we are going to build our first Craft CMS CP dashboard widget.
Ryan and Andrew answer your questions about Sprig, Vue, project config, and more!
How to create custom Twig filters and functions in Craft CMS.
In this course you will learn how to create a Craft CMS module.
Ben Croker demonstrates how to write Sprig components as PHP classes.
In this course we explore a few different ways to require a custom or private plugin with Composer.
Ryan and Andrew fight through some technical issues to cover session timeouts, controller action URLs, and a little bit of live coding.