I’ve created basic application and I’m trying to set CWebApplication::layout in protected/config/main.php like this:
…other stuff here
I’ve put newlayout.php under views/layouts
when I run the application in my browser layout that is applied is still default main.php layout.
How do I get my own layout globally applied over application?
I’ve tested applying it to SiteController and while that did work I want to set it globally.
Have I missed something? I’m running on Win7 using wamp. Any pointers or ideas I’d appreciate them.