Crating A Menu Under Operations

Hey Guys,

I wanted to create a menu under the operations menu, Here is the scenario what i want to do…

suppose i am viewing a category in the operations menu i have update, delete, create new etc menu items…i want to add another menu item called view subcategory, which would contain all the subcategory under that category…how do i do that…I am new in YII any example or tuts would really be helpful…thanks

For Yii 2.0 you can generate menus using \yii\widgets\Menu or \yii\bootstrap\Nav components.

You can alternatively use my advanced SideNav widget to generate hierarchical menus (like you need with menu category & subcategory) from my extension yii2-widgets. You can see a demo of SideNav here.