How to change default layout

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?

Are you using Controller as a base for ContractController from Contract module?

You should use

The

Points to the

Where as

Points to