Variable management in column2.php

I want for example to access a model variable from:




public function actionView($id)

	{

		$this->render('view',array(

			'model'=>$this->loadModel($id),

		));

	}



into the column2.php file.

How can i achieve this?

may be setup public var in controller and access it like $this->var?

sorry. it turned out that layouts see only site controller… i don’t know the answer for your question(

This has already been discussed on the forum, check it here - http://www.yiiframework.com/forum/index.php/topic/23607-