Skip to content

Releases: teppokoivula/MarkupMenu

1.2.0

24 Mar 10:58
Compare
Choose a tag to compare

Added

  • "root", for the root page of the rendered list/menu, is now included in placeholders for list and nav templates.

1.1.1

02 Nov 08:58
Compare
Choose a tag to compare

Fixed

  • Restored options array for ___getTemplate() params.

1.1.0

02 Nov 08:54
Compare
Choose a tag to compare

Added

  • Placeholders array is passed to ___getTemplate() and made available for callable templates.

1.0.0

30 Aug 15:59
Compare
Choose a tag to compare

Added

  • New hookable methods treeItemIsParent() and arrayItemIsParent().

Changed

  • Signature for hookable method renderArrayItem has changed, $root item is now provided as the third param. This applies to a protected method, but is still a breaking change in case third party code is hooking into said method.

Fixed

  • Root page ID check in renderArrayItem() was referring to a non-existing variable.

0.11.0

04 Dec 21:16
Compare
Choose a tag to compare

Added

  • Support for providing menu items as a prepopulated array via the menu_items option.
  • Support for callables as templates, enabling template string to be defined dynamically.

0.10.0

05 Sep 07:05
67cbc53
Compare
Choose a tag to compare

Added

  • Include level by default in the 'item' template.

0.9.0

05 Sep 07:01
Compare
Choose a tag to compare

Added

  • New hookable method getSelector().

0.8.0

05 Sep 07:01
Compare
Choose a tag to compare

Added

  • Support for passing in a prepopulated PageArray of menu items via the menu_items option.

Fixed

  • Fixed an issue where include option root_page wasn't being properly reset (since 0.7.0).

0.7.0

18 Dec 22:05
Compare
Choose a tag to compare

Added

  • New hookable method getItems().

Changed

  • Method renderTreeItem() made hookable.

0.6.2

30 Jun 18:04
Compare
Choose a tag to compare

Changed

  • Bumped required version of wireframe-framework/processwire-composer-installer to 1.0.