You can either not attach it or get the listener and detach only the one you're interested in (see https://github.com/zendframework/zf2/blob/release-2.2.5/library/Zend/EventManager/EventManager.php#L335and https://github.com/zendframework/zf2/blob/release-2.2.5/library/Zend/EventManager/EventManager.php#L393)
Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 10 December 2013 13:03, dolphin <pochta.dolp...@gmail.com> wrote: > Bad that one can not set the layout and exception template in view manager > without hacks. > > > > -- > View this message in context: > http://zend-framework-community.634137.n4.nabble.com/How-to-detach-Zend-Mvc-View-Http-InjectTemplateListener-tp4661315p4661321.html > Sent from the Zend Framework mailing list archive at Nabble.com. > > -- > List: fw-general@lists.zend.com > Info: http://framework.zend.com/archives > Unsubscribe: fw-general-unsubscr...@lists.zend.com > > >