Might be easier to do it in the app_controller with a statement to
setect the appropriate layour via:

var $layout = 'layout_name';

On Apr 2, 12:03 pm, Barry <[EMAIL PROTECTED]> wrote:
> How do I set a different layout in the bootstrap.php file?
>
> On Apr 1, 1:02 pm, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
>
> > >  Another more elegant, and much more Cakey approach would be to set the
> > >  viewPaths in the bootstrap based on the $_SERVER['HTTP_HOST'].
>
> > Or (still based on $_SERVER['HTTP_HOST']) set a different layout, or
> > use ThemeView with the same trick again.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to