Menu Management for Yii Framework

Note: This is an archived post. Information may not be relevant now.

This menu module for Yii allows you to create and edit themeable menus with nested/sortable items.
This work is inspired from menu management in WordPress and tries to provide a similar interface to drag and drop items for setting its order and depth.

The module utilizes nestedSortable jQuery plugin for drag-drop sorting of menu items in backend.
Free CSS dropdown menu from is used for menu styles and themes.

The code for menu rendering is borrowed from emenu extension.
The code for implementing nestedSortable is borrowed from the dead project at


Download from

Extract the contents of the archive to menu folder inside modules.

Acknowledge Yii about this module by including it into list of modules in config/main.php

'modules' => array(

Add the components and models required to your imports section

'import' => array(

Add Metadata class to components

        'metadata' => array('class' => 'Metadata'),

Import menu.sql to install the database schema.


Browse to /menu to create menu and menu items.
Click on Get Code link to get code for any menu.
Insert the code into any layout or view file.

Git Repo: