While probably not acceptable - you can set the layout in the view, like so:
$this->layout()->setTemplate('layout/bare.phtml');
I'm personally fine with doing this here because it's view related, a
simple solution.
On Tue, Jul 30, 2013 at 7:54 AM, Michael Gooden <[email protected]>wrote:
> I would hook into the dispatch error event, and change the layout there.
>
>
> On 30 July 2013 08:52, Ross <[email protected]> wrote:
>
> > Hello.
> >
> > Currently 404.phtml is rendered using layout/layout.phtml. I want to
> > change it to layout/clean.phtml. What is the proper way of doing that?
> >
> > Thank you.
> >
> > --
> > List: [email protected]
> > Info: http://framework.zend.com/archives
> > Unsubscribe: [email protected]
> >
> >
> >
>
--
Brian
tel: +353 (0)864008052
email: [email protected]
skype: gallagherbrian