Put the following line in the top of your controller: var $layout = 'error';
--- kiang On 11月28日, 上午8時22分, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I want to use an error layout (error.ctp) that's different from the > default layout I use for normal static pages (default.ctp). Is this > possible? Where can you specify it? > > Thanks in advance! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
