It means so.
There is an admin on yii.
The login form to the admin panel is loaded, provided that the user is not authorized. at authorization we throw it on the necessary page.
Heed the Question!
I have several layouts, one is the login form to the admin area. The second layout is the admin template itself. And so
Is it necessary to prescribe the layout I need before each render? or can you do something else?
$this->layout="/layouts/main"; $this->render('contact',array('model'=>$model));
// upd and still some help is needed.