Sidebar menu


i make a AdminController. If i use this controller, always drop this error:

"" don't defined.

I do not want use menu. How to "disable" this function?


I make in the controller:

public $menu=array();

It’s work, but…is it the perfect solution? ???

A Yii default project contains the class "Controller" under /protected/components.

There you will find the public property $menu=array();

So, if AdminController extends Controller, there should be no error message.

It seems, that in one of your admin views there is a code piece "$this->menu".

Ohh, i use CController not Controller. :angry: