function init()

This is my code




public function init()

        {

            Yii::app()->theme = 'blueface';

            parent::init();

        }




I want that this theme is applied when the user is logged and all page not only the first with the initial menù…

Can I just change this? Adding a few lines of code?

Try to use this code in your controller class extension




class YourController extends Controller

{

public function actions()

	{

		Yii::app()->theme = 'blueface';

            parent::init();


	}


public function actionIndex()

{

.....

}

}

..

..

etc...



try maybe solve your problem :)

What is the difference?