setting layout


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(




	// preloading 'log' component


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.