# Kirby Menu Editor - CLOSED

**URL:** <https://forum.getkirby.com/t/kirby-menu-editor-closed/5982>\
**Category:** Plugins\
**Tags:** discontinued\
**Created:** [December 7, 2016, 10:27am UTC](https://forum.getkirby.com/t/kirby-menu-editor-closed/5982 "2016-12-07T10:27:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jenstornell](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jenstornell/32/546_2.png) [@jenstornell](https://forum.getkirby.com/u/jenstornell)\
**Post date:** [December 7, 2016, 10:27am UTC](https://forum.getkirby.com/t/kirby-menu-editor-closed/5982/1 "2016-12-07T10:27:22Z")

</div>

A new plugin is born: [https://github.com/jenstornell/kirby-menu-editor](https://github.com/jenstornell/kirby-menu-editor)

 ![](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/8/81413f638cbcc7d70bc961eade06b63d598567fa.png)

 ![](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/f/fe1a08034e044c4772b009a5913e9787a3c09bdd.png)

Use it like this:

```php
snippet('menueditor');

```

or like this:

```html
<?php foreach( $page->addresses()->toStructure() as $item ) : ?>
<?php $attributes = menuEditorAttributes($item); ?>
    <li>
      <a href="<?php echo page( $item->page() )->url(); ?>"<?php echo $attributes; ?>></a>
    </li>
<?php endforeach;

```

More info about the plugin at [https://github.com/jenstornell/kirby-menu-editor](https://github.com/jenstornell/kirby-menu-editor)

---

<div class="post-metadata">

**Author:** ![thguenther](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/thguenther/32/16708_2.png) [@thguenther](https://forum.getkirby.com/u/thguenther)\
**Post date:** [December 7, 2016, 11:09am UTC](https://forum.getkirby.com/t/kirby-menu-editor-closed/5982/2 "2016-12-07T11:09:11Z")

</div>

Wow, that’s great! I wanted to build something like that for a client project with three separate menus some time ago.

For clients I think I’d need to change the `page` field to a select field, they won’t ever understand this thing 😑

Thanks a lot ❤

---

<div class="post-metadata">

**Author:** ![jenstornell](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jenstornell/32/546_2.png) [@jenstornell](https://forum.getkirby.com/u/jenstornell)\
**Post date:** [December 7, 2016, 11:18am UTC](https://forum.getkirby.com/t/kirby-menu-editor-closed/5982/3 "2016-12-07T11:18:37Z")

</div>

Thanks! 🙂

You can modify the plugin… or you can override it like this:

```nohighlight
fields:
  my_menu:
    label: My menu
    extends: menueditor
    fields:
      page:
        type: select
        options:
          page1: Page1
          page2: Page2

```

The pitfall would be that you need to set the options manually.

---

<div class="post-metadata">

**Author:** ![flokosiol](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/flokosiol/32/468_2.png) [@flokosiol](https://forum.getkirby.com/u/flokosiol)\
**Post date:** [December 8, 2016, 5:53am UTC](https://forum.getkirby.com/t/kirby-menu-editor-closed/5982/4 "2016-12-08T05:53:35Z")

</div>

> [@jenstornell](#):
>
> The pitfall would be that you need to set the options manually.

… or this should work:

```auto
type: select
options: pages

```

---

<div class="post-metadata">

**Author:** ![jenstornell](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jenstornell/32/546_2.png) [@jenstornell](https://forum.getkirby.com/u/jenstornell)\
**Post date:** [December 8, 2016, 8:11am UTC](https://forum.getkirby.com/t/kirby-menu-editor-closed/5982/5 "2016-12-08T08:11:05Z")

</div>

Yes, you are right, it does. I forgot about that. Then the override syntax would be:

```nohighlight
fields:
  my_menu:
    label: My menu
    extends: menueditor
    fields:
      page:
        type: select
        options: pages

```

## Version 0.2

I just released a new version of [https://github.com/jenstornell/kirby-menu-editor](https://github.com/jenstornell/kirby-menu-editor)

It fixes some major bugs and there are now three types of menus that can be added.

- **Default** - Most common case menus
- **Minimal** - Title and page only
- **Full** - All that is in the default setup but also image and description.

More info in the repo.

---

<div class="post-metadata">

**Author:** ![jenstornell](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jenstornell/32/546_2.png) [@jenstornell](https://forum.getkirby.com/u/jenstornell)\
**Post date:** [March 9, 2017, 11:25am UTC](https://forum.getkirby.com/t/kirby-menu-editor-closed/5982/6 "2017-03-09T11:25:56Z")

</div>

I closed this repo today. I now think adding a structure field and then adding the code into a template/snippet could be done quite simple even without this plugins. Therefor this plugin did not have a purpose. It only had 4 likes on Github and was not one of the most liked plugins anyway.

Maybe close this post?
