We are building a deprecation notifier widget named DeprecNotifier. The widget will give quick insight into the number of deprecation errors logged for your site. It will provide you with a glance at how many depreciation notices there are for your site.
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.
Building a Craft CMS Dashboard Widget is made up of the following videos:
|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|
|6||Restricting a Craft Widget by User Permissions||Not every widget should be available to every control panel user. Let's restrict the widget to only those who have access to the deprecation errors area of Utlities.||08:17|