Hi Matthew,

I'm trying to figure out which possibility is the best way since latest
changes to use Smarty instead of the default view.

One way is:
Detach all events with ViewModel calls and attach them with SmartyModel to
avoid collisions and transport some more Smarty stuff. Add SmartyRenderer as
default renderer. Set tpl as suffix. Inject response etc.

The other way, replace/extend ViewManager at the beginning. 

I can detach ViewManager in the called initializeSmarty listener, but the
event is already triggered so I've to call the replacement manually.

-----
Hasan H. Gürsoy (HHGAG)
--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/zf2-detach-event-in-Module-init-tp4646688p4647768.html
Sent from the Zend Framework mailing list archive at Nabble.com.

--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to