Re: How I change the layout of the home.thml

2006-04-10 Thread nate
Either set $this-layout in the controller, or pass the name of the alternate layout in the second parameter of $this-render( ). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group,

Re: How I change the layout of the home.thml

2006-04-10 Thread Wasenbr
The question is: how I change the layout of the any view of the PagesController without change the pages_controller.php page of cake/libs/controller dir? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP

Re: How I change the layout of the home.thml

2006-04-10 Thread Samuel DeVore
You can take the pages_controller from libs/controller and put a copy in your app/controller directory then from there you can set layout for particular 'pages' based on a set of rules. Or if you make your own app_controller.php in your app you can set the layout there for pages as well Sam DOn