Re: How to specify layout once

2007-02-08 Thread AD7six
On Feb 8, 3:10 pm, "Ryan" <[EMAIL PROTECTED]> wrote: > Set it in your beforeRender() function in your controller. > > Regards, > Ryan Rosehttp://www.digiwize.com > > On Feb 8, 8:58 am, "Mark Steudel" <[EMAIL PROTECTED]> wrote: > > > So I have admin functions in my controller. I can change the la

Re: How to specify layout once

2007-02-08 Thread Ryan
Set it in your beforeRender() function in your controller. Regards, Ryan Rose http://www.digiwize.com On Feb 8, 8:58 am, "Mark Steudel" <[EMAIL PROTECTED]> wrote: > So I have admin functions in my controller. I can change the layout used by > doing: > > $this->layout = 'admin'; > > But instead o

RE: How to specify layout once

2007-02-08 Thread Mariano Iglesias
: Jueves, 08 de Febrero de 2007 10:58 a.m. Para: cake-php@googlegroups.com Asunto: How to specify layout once So I have admin functions in my controller. I can change the layout used by doing: $this->layout = 'admin'; But instead of adding that line in for each of my admin actions I

How to specify layout once

2007-02-08 Thread Mark Steudel
So I have admin functions in my controller. I can change the layout used by doing: $this->layout = 'admin'; But instead of adding that line in for each of my admin actions I was wondering if there was a way to do it just once. Mark --~--~-~--~~~---~--~~ You rec