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 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
http://groups.google.com/group/cake-php/search?group=cake-php&q=admin+global+layout&qt_g=Search+this+group
Cheers,
AD7six
Please note:
The manual/bakery is a good place to start any quest for info.
You may get your answer quicker by asking on
the IRC Channel (you can access it with just a browser
here:http://irc.cakephp.org).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---