setting layout

Hi,

I don’t seem to be able to change the whole layout when setting it in config/main as it says in page 255 (ch. 11).

I have the file protected/views/layouts/newlayout.php and set layout property in config/main as in:




return array(

	'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',

	'layout'=>'newlayout',

	'name'=>'Trackstar',


	// preloading 'log' component

	'preload'=>array('log'),






I don’t get what I am doing wrong (I was able to change it on a controller basis though).

I’d appreciate any help.