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 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 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 -~----------~----~----~----~------~----~------~--~---
