Topic: [dev] backend menu

I'm trying to develop a menu system for the backend.
the goal is to do something like

  - Main
  - Manage
    . Pages
    . Plugins
- Presentation
    . Layouts
    . Snippets
- Settings

I was thinking about using Mike's menu plugin, but crossed my mind
using Plugin::addController(), passing a option called parent_tab.

The question now is how should i load it in the layout, first need to set
the parents, that are hardcoded, then find a way to match to give it selected status,
then present the child classes.

So for parent, we need first to seek if child / plugin exists in parent, to give selected status,
using array match?any opinion?

Then its easy for the child, we just need to match it against the route.

Any opinions?

Last edited by wemago (2010-06-11 03:30)

Thumbs up

Re: [dev] backend menu

You mean you want to change the backend.php file in the "wolf/app/layouts" folder?

Thumbs up