BWSnippet

Yii change layout in controller action

Yii change layout in controller action

Change Default or Controller Layout in an Action

public function actionSomething()
{
$this->layout='column1';
$this->render('pages/something');
}

Tags

Yii change layout in controller action