Skip to content

Releases: medienbaecker/kirby-modules

Kirby Modules 2.2.1

30 Sep 13:21

Choose a tag to compare

This release makes sure the plugin is compatible with the upcoming 3.6.0 release of Kirby.

Kirby Modules 2.2.0

07 Jan 08:50

Choose a tag to compare

Thanks to @pedroborges you can now use the modules() method in two different ways:

  1. Iterate over the modules collection
<?php foreach($page->modules() as $module): ?>
<!-- Do something with the module -->
<?php endforeach ?>
  1. Return all the modules like you can also do with renderModules()
<?= $page->modules() ?>

2.1.1

04 Nov 22:30

Choose a tag to compare

I added an empty array as a fallback for the modules() method. This way pages without a modules container don't throw an error.

2.1.0

22 Oct 06:08

Choose a tag to compare

New Features:

  • new renderModule() method for rendering a single module
  • new modules() method for returning the modules of a page
  • Modules without a template (yet) will now be available in the panel

2.0.1

01 Oct 06:42
d8b422c

Choose a tag to compare

Fixes overwriting the headline and empty parameters for the modules section while still displaying the English fallback for untranslated languages.

Kirby Modules 2.0

23 Sep 12:55

Choose a tag to compare

New Features 🎉

📁 Put module blueprints and templates in separate folders inside site/modules to easily reuse and share them
💡 Preview draft modules on their respective pages with the native token you get via the panel preview link
🚀 Autopublish modules
🧠 Custom global module models
🌐 Globally translatable headline and empty options
⏪ Backwards compatibility for old modules in site/snippets/modules and site/blueprints/pages

Contributors

Thanks to @iskrisis and @pedroborges for the ideas and pull requests ❤️

0.7.0

04 Sep 08:22

Choose a tag to compare

The plugin now adds a class to the extended pages section, instead of using the section name. See #3.

Also new: since Kirby now has a setting to hide the images I use this property instead of a CSS overwrite.

0.6.3

16 Jul 13:40

Choose a tag to compare

There were some additional changes in Kirby 3.4 that prevented the plugin from automatically creating the modules container. It's now fixed.

0.6.2

08 Jul 11:55

Choose a tag to compare

This release should fix overwriting the parent of a modules section.

0.6.1

17 Apr 09:21

Choose a tag to compare

This should fix #10