Skip to content

Releases: medienbaecker/kirby-modules

3.0.0

13 Dec 19:01

Choose a tag to compare

3.0.0 Pre-release
Pre-release

Complete rewrite of the plugin. It's now also possible to prevent unauthorised modules from being moved (#48).

Full Changelog: 2.9.3...3.0.0

Kirby Modules 2.9.3

04 Feb 11:35

Choose a tag to compare

Who forgot to update the version in composer.json? Me!

See release notes for 2.9.0

Kirby Modules 2.9.2

30 Jan 11:23

Choose a tag to compare

This release fixes the draft preview feature for Kirby 5.

See release notes for 2.9.0

Kirby Modules 2.9.1

29 Jan 15:57

Choose a tag to compare

There was a change in Kirby 5 beta 1 that made draft modules visible in the frontend. The Kirby team is currently thinking about a solution for plugin developers.

For now, I had to remove the draft preview feature.

Kirby Modules 2.9.0

13 Dec 08:51

Choose a tag to compare

This release brings compatibility with Kirby 5, among other things. Here's what I changed:

Compatibility with Kirby 5

Removed styling of inactive items

Previously I was subtly fading out inactive items (status: draft) in the section. This was not compatible with Kirby's new dark theme. In general I think it doesn't make sense to have this special styling when other pages sections don't do that either.

Removed custom URL method

Kirby changed the preview token generation to use the page's URL instead of the id and template. This broke my custom URL method for modules and their containers. Because there's an automatic redirect, I removed the custom URL method without a replacement for now.

Adjustments in Kirby's render functions

I made sure the plugin's custom models are compatible with the core changes, namely the render functions for ModulePage and ModulesPage.

New features

Added icons to the modules section

So far the modules section didn't display the images in the list items because I want to visually differentiate them from pages. Jiří Chlebus gave me the idea to add the icons with a white (or black, depending on the theme) icon instead. By default, the "box" icon is used.

You can now use your controller's variables in modules!

After I rewrote the three renderModules() functions into one simpler function we can now use variables defined in controllers in the modules. This is especially great with a general site controller.

Other adjustments

Changed module creation path

The CLI command kirby make:module was creating modules in site/modules/. Now I'm using the more in-line with blocks structure site/snippets/modules/ and site/blueprints/modules/.

Full Changelog: 2.8.4...2.9.0

Kirby Modules 2.8.4

16 Aug 06:31

Choose a tag to compare

Thanks to @caplod for making sure the plugin is compatible with kirby-seo ❤️

Kirby Modules 2.8.3

01 Jul 06:53

Choose a tag to compare

The change in this release allows modules to be moved to other modules containers.

Kirby Modules 2.8.2

25 Jun 07:21

Choose a tag to compare

Kirby Modules 2.8.1

07 Jun 10:05

Choose a tag to compare

The status texts are now hidden because they had the word "page" in them.

Kirby Modules 2.8.0

09 May 16:04

Choose a tag to compare

  • The autopublish option is now using the Kirby 4.0.0 feature.
  • I also automatically set the redirect option to false now and added an option to set it to true again.
  • The modules container page's title is now automatically translated.