can't get multylevel menu
eugenbg opened this issue · comments
eugenbg commented
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
eugenbg commented
Didn't set "enabled" :)
It would be great if you could see if the item is enabled or disabled in the tree view
CoRNeRNoTe commented
Good idea, I have thought this myself. I'll add that soon.
CoRNeRNoTe commented
All done. =)