Zend_Layout::startMvc('/layouts/scripts' );
On Thu, Jun 4, 2009 at 6:42 PM, Jalil F. <[email protected]> wrote:
>
> It is not my code and I am new to Zend and have not been able to find where
> it is initiated.
> I don't see a startMvc call. Is there another way to initiate it?
>
> Thanks for the help,
>
> -J
>
>
> vince. wrote:
> >
> > Then just don't initiate it. How do you initiate your layout?
> >
> > By using the Zend_Layout::startMvc instance?
> >
> >
> >
> > On Thu, Jun 4, 2009 at 12:56 AM, Jalil F. <[email protected]>
> wrote:
> >
> >>
> >>
> >> I installed some example code which is using layouts but like to remove
> >> the
> >> layout for now. I did some search and found:
> >>
> >> $this->_helper->layout->disableLayout();
> >>
> >> that I can call from a controller action to disable layout but I like
> to
> >> be
> >> able to remove the layout use from the whole app. I tried to use this
> >> function in bootstrap.ini but it does not work.
> >>
> >> Please let me know who to remove layouts or disable it globally.
> >>
> >> Thanks,
> >>
> >> -J
> >> --
> >> View this message in context:
> >> http://www.nabble.com/How-to-remove-layouts--tp23860247p23860247.html
> >> Sent from the Zend Framework mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Vincent Gabriel.
> > Lead Developer, Senior Support.
> > Zend Certified Engineer.
> > Zend Framework Certified Engineer.
> > -- http://www.vadimg.co.il/
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-to-remove-layouts--tp23860247p23872536.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>
--
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.
Zend Framework Certified Engineer.
-- http://www.vadimg.co.il/