I found that changing the layout in error.php (errorHandler class)
does seem to work. This doens't seem like good-practice though...

Any simpler solutions?

On 11 dec, 11:40, BoSc <[EMAIL PROTECTED]> wrote:
> When calling a 404 error with:
>
> $this->cakeError('error404',array(array('url'=>'/')));
>
> How do I set the layout for the error404.thtml. It tends to use the
> default.thtml layout, but I would like to change this!
--~--~---------~--~----~------------~-------~--~----~
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