Hi,all
I want change default layout,I change the components\Controller.php like this:
class Controller extends CController
{
public $layout='//layouts/index';
public $menu=array();
public $breadcrumbs=array();
}
i have a module such like ‘Contract’,I access index.php?r=contract/contract/admin,the layout still is ‘column1’,why?
Is $layout not a global layout?