Last month I finally released Kirby Modules 5.0.0. Because my articles always seem to need time to ferment, we’re at 5.3.0 now. The plugin finally does the thing: inline editing. Every module stays a real Kirby page – so you keep multilanguage, columns, sections, per-module and per-field translation:
Alternative text description of the video
There’s a module section on the left, and a representation of the Kirby content folder on the right. The user fills in fields on the left, while the right side is showing these exact values in the content files. Then, the user drags the first module and puts it in second place, making the content folders swap their sorting number. When the user then clicks on the “Visible” button of the first module, it gets a hidden field set to “true”. The last action showcased is deleting a module, unsurprisingly removing the content folder from the right side after a confirmation dialog.Using actual pages means you can use translate: false, making individual fields fall back to the default language. An invaluable tool for multi-language sites. I’ve always found actual pages, and with that actual folders in the file system, to be the most robust way of using Kirby. Human-readable content folders for the win!
Rebuilding the whole thing
For the longest time, my plugin was nothing more than a thin wrapper around Kirby’s pages section. Editing a module meant opening it on its own page. Not the most intuitive UX. To my defence, I needed a quick replacement for Lukas²’s original Modules/Sortable plugins when Kirby 3 came out.
It took Nils building an inline-editing extension to show me it was possible. That was 4 years ago.
I rebuilt the UI from Kirby’s blocks field and fixed the small things that always bugged me along the way: a proper collapse action with a chevron hover state, keyboard navigation, consistent focus outlines, anchor links front and center, and signed preview URLs so you can preview hidden modules, just like drafts.
Most importantly, fields, tabs, columns (!) and sections (!!) now render right on the parent page – you edit several at once and save (or discard) everything with the page’s own button. So cool!
There’s more, feel free to read the release notes if you’re interested.
Pay what you want
A decade of free plugins, and this is the one I finally put a price tag on. A price tag you can, admittedly, set to zero. If you build modular Kirby sites, give it a try.
Replies
- 3 replies
- 2 boosts
- 3 favourites
-
@Thomas Günther Ups, your server seems to be down.
-
@getkirby Thanks for letting me know! What a great timing – should be up again now?
-
@Thomas Günther Yep, it works now
-
@Thomas Günther Still down (down again?) for me
-
@ReneHenrich Sorry for that, René! I moved my domain today and something went wrong with the nameservers. Should be back up any moment now.
-
@Thomas Günther ohlala, looks awesome! Both the Video and the Plugin, haha.
-
@moinframe Thanks Justus! That means a lot, coming from the Kirby video master himself 🤗