change the global theme of JUI ?

I want to change the look of the JUI with sunny Thame. and I want to apply to the all page. I’ve tried several ways but not succeeded, the thame still base.

I do this step :

  • download UI, I then extract and I put in the css directory.

and than, i tried to call in Dialog widget:

$this->beginWidget('zii.widgets.jui.CJuiDialog', array(


    // additional javascript options for the dialog plugin


        'title'=>'Dialog box 1',


		 'themeUrl' => Yii::app()->baseUrl.'/css/jqui' ,

		'theme'=>'sunny',        //try 'bee' also to see the changes

		'cssFile'=>array('jquery.ui.css' /*,anotherfile.css, etc.css*/),



but no changes have occurred.

How do this ?

Move theme and themeUrl out of options. See the API reference.