Ryan walks through the module we'll use to house our widget and how to get it up and running.
We’ll use the module Widgetopia as our starting point. If you haven’t yet created a module for Craft CMS, then I encourage you to use the course I created on building your first Craft module to learn more about modules in Craft. If you’re not familiar with installing a Craft module, then my video from the Module course might be helpful. Additionally, you can refer to the official Craft documentation on setting up class autoloading and updating the application config to make it aware of the module and to bootstrap it.
Here are all of the videos in Building a Craft CMS Dashboard Widget:
|1||What We're Building||Ryan introduces the course and the widget we will build in this course.||02:35|
|2||Getting Set Up with the Module||Ryan walks through the module we'll use to house our widget and how to get it up and running.||02:36|
|3||Creating a Basic Widget||We create a basic widget, without any content, to get things working before we start to customize it.||06:42|
|4||Customizing the Widget||Ryan populates the widget with dynamic content from the Craft Deprecator service, uses the UrlHelper to create a CP URL, and more.||14:11|
|5||Tweaking the Widget Behavior||We tweak the widget behavior by only allowing a single instance, adding a widget icon, and limiting the column span.||07:21|
|Course In-Progress||This course is still being updated with new content. Check back for more!|
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.
Invest in yourself, your career, and your ability to take knowledge and use it grow your business or earning potential.
Get everything in the catalog plus new videos every week. Just by signing up you get immediate access to hundreds of hours of learning.