Nope, you can change the layout the way you want, all you have to do is just
specifying the layout that you want in your controller, for instance,
$this->layout = 'admin' then that would call the admin layout inside your
app/views/layouts directory and apply all the renders in that layout, if you
didn't specify a layout then the default layout will be rendered in this
case.

On Tue, Oct 20, 2009 at 12:18 PM, kamiseq <kami...@gmail.com> wrote:

>
> I thought that layout can be populated only by view that is releted to
> action that is executed in controller.
> >
>


-- 
http://phpirate.net

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to