I want to send a parameter from controller to layout (i.e. main.php). But I am not able to get the param in main.php
I tried:
Controller Code:
$this->render('index',array('param' => $paramValue));
And this is how i was trying to get this in layout ie. main.php
$this->param
(as in yii 1)$param
But i am not able to get param value in layout. Can anyone tell me how to do this?