1.

How To Set Layout In The Controller?

Answer»

var $LAYOUT = ‘layout_name’;

to overwrite for a specific ACTION USE below CODE in that action

$this->layout =”layout_name”;

var $layout = ‘layout_name’;

to overwrite for a specific action use below code in that action

$this->layout =”layout_name”;



Discussion

No Comment Found