Or specifically, use a different layout for your pages.  You can set
$this->layout in the view itself too, if you don't want to copy over
the PagesController.


On Nov 28, 11:06 am, kiang <[EMAIL PROTECTED]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to