Do It Yourself widget
Version 4.1.1
October 25, 2024
Fixed
- Fixed an issue where Sprig was being bootstrapped for frontend requests.
Version 4.1.0
October 25, 2024
Added
- Added support for Sprig functions in widget templates. You must have
putyourlightson/craft-sprig-core
orputyourlightson/craft-sprig
installed separately. - Set the
diy-widget
template root to point to theconfig/diy-widget
directory.
Version 4.0.0
February 8, 2024
Added
- Added Craft 5 compatibility.
Version 3.0.0
April 14, 2022
Added
- Added Craft 4 compatibility.
Changed
- Removed build tools for example widgets’ styles and scripts.
- Updated example widget styles for Craft 4.
Version 2.1.0
March 8, 2021
Added
- Added some new example widgets: “Entries Count”, ”Users Count”, “Recent Drafts”, “Recent Entry Updates” and “Recent Users”.
- The “Recent Assets” example widget now shows the uploader’s username.
Changed
- All JavaScript and CSS files found in
config/diy-widget
are now loaded for CP requests, not just the ones matching template filenames. - Widget titles are now displayed in Title Case.
- Static translations in example widgets are now using the
site
category.
Version 2.0.2
April 2, 2020
Changed
- Updated example widget styles for Craft 3.4.
Fixed
- Fixed a bug where widget icons didn’t display in Craft 3.2 or later.
Version 2.0.1
May 29, 2018
Changed
- The plugin now removes all DIY widgets that were installed under Craft 2 from the dashboards when it gets installed.
Version 2.0.0
May 29, 2018
Added
- Added Craft 3 compatibility.
Changed
- Each widget is now it’s own widget type and can be added to the Dashboard by selecting it from the “New widget” dropdown.
- Each widget can now provide its own icon.
Version 1.2.1
July 24, 2016
Added
- Added plugin and widget icons.
Version 1.2.0
July 24, 2016
Added
- Added a very basic “Welcome” example widget.
Changed
- Made some UI improvements to the “Search” example widget, a spinner is now shown while results are loading.
Fixed
- The “Recent Assets” example widget now really shows the latest assets.
- The widget’s ID passed in to the templates doesn’t contain the word
widget
any longer. - The
Craft.DiyWidget
object is now only created in the example Javascripts if it doesn’t already exist.
Version 1.1.0
July 23, 2016
Added
- Added a new “Entry Search” example widget.
- Added a
getHtml
controller action to request the templates using Ajax.
Changed
- Templates starting with an underscore are no longer listed in the widget settings.
Version 1.0.0
July 22, 2016
other
- First release