More information about this topic
Reset database
 | 
Menu

protected/modules/UiModule/views/ui_other/menu.php

//put some little css so it's more beautiful
$css = '
	#my-menu ul{list-style-type:none;}
	#my-menu li {float:left;display:block;margin-right:20px;}
	#my-menu li.active a{color:#f00}
	';
Yii::app()->clientScript->registerCss('css-place-1',$css);

$this->widget('zii.widgets.CMenu', array(
        'id'=>'my-menu',
        'items'=>$menu,
));

protected/modules/UiModule/controllers/Ui_otherController.php

 public function actionMenu(){
		$listMenu =array(
			array('label'=>'Home', 'url'=>array('site/index'), 'active'=>true),
			array('label'=>'Products', 'url'=>array('site/index')),
			array('label'=>'About Us', 'url'=>array('site/index')),
			array('label'=>'Contacts', 'url'=>array('site/index')),
		);
		$this->render('menu',array('menu'=>$listMenu));
	}
References
Fork me on GitHub