cornernote / yii-menu-module

Interface to manage menus and code-generation to deploy them into your application.

Home Page:http://cornernote.github.io/yii-menu-module/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't get multylevel menu

eugenbg opened this issue · comments

Hello, thanks for the module :)
i have a problem
getting no child items in the menu

getting the menu like this in the parent controller:

        Yii::app()->getModule('menu');
        $this->topmenu = MenuItem::model()->findByPk(3)->getItems();

I'm getting only the 1st level items after the root listed

Didn't set "enabled" :)
It would be great if you could see if the item is enabled or disabled in the tree view

Good idea, I have thought this myself. I'll add that soon.

All done. =)