Repository navigation
6.0.0
Kirby 6
The plugin is now compatible with Kirby 6, modules show up in the live preview, saving checks every module, and Move lets you pick the page itself. Kirby 5 sites stay on 5.x. Thanks to @bastianallgeier for the help (#74)!
Live preview
Type into a module and the live preview shows your changes immediately.
Saving checks every module first
Saving the page still saves all your module changes, but now on the server and in one single request. Every module is checked before anything is saved, and one list names every invalid field in every module:
Moving modules
Move opens Kirby's page picker. You pick the page itself instead of its hidden modules container. Only pages with a modules field that takes this type can be selected, and if a page has several, you choose the field:
Upgrading from 5.x
- Kirby 6 and PHP 8.3 to 8.5. Composer keeps Kirby 5 sites on 5.x.
- Modules is a field now. Your
type: modulessections keep working as they are, and you can put the field underfieldslike any other. - Without a
label, the label falls back to the field name like any Kirby field (sidebarshows "Sidebar"). $module->ownerSection()is now$module->ownerField().- The Panel component is now
k-modules-field. Update custom Panel CSS that targets.k-modules-section. - The
create-containerroute and themodules.publishedevent are gone.
Also new
- Add and Duplicate are disabled when the field is full, and the server checks
maxtoo - New anchors follow the blueprint title in the default language, so a German "Zitat" type gets
#zitat - Opening a page no longer creates an empty modules container
- A page that only holds modules deletes without typing its title
- Panel events for your own plugins:
modules.load,modules.input,modules.updateandmodules.merge
Fixes
- Duplicating a module copies its nested modules and their unsaved changes
- Moving or deleting a module keeps the other editor's name on their unsaved changes