I don't want to change the layout for the whole site. I just want to change the layout for all errors.
On Oct 3, 2:46 am, Tilen Majerle <[email protected]> wrote: > u can set it in AppController > > {{{ > > function __construct() > { > parent::__construct(); > > $this->layout = "yourlayout"; > > } > }}} > > -- > Tilen Majerlehttp://majerle.eu > > 2010/10/3 calzone <[email protected]> > > > > > I would like all cakeErrors to use the same layout, and I want that > > layout to be something other than the default layout. > > > The only way I could see to accomplish this required creating app/ > > app_error.php and then rewriting every single error function and every > > single error.ctp file and being sure to set the layout for each. > > > Is there a DRYer way to accomplish this? > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others > > with their CakePHP related questions. > > > You received this message because you are subscribed to the Google Groups > > "CakePHP" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<cake-php%[email protected] > > om>For more options, visit this group at > >http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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
