Issues

ZF2-494: Multiple renderers.

Description

I'm trying to work with the ZfcTwig (https://github.com/ZF-Commons/ZfcTwig) module in one of my applications. Everything works, except for mixing up template types.

When trying to use a viewhelper (from a module) which requires phtml files, it fails:

$vm = new ViewModel(); $vm->setLayout('my/viewfile.phtml'); $this->getView()->render($vm);

It can then not find "my/viewfile.phtml" for some reason. I'm pretty sure that the reason for this is the fact that the suffix gets set to .twig in ZfcTwig.

Comments

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit: https://github.com/zendframework/zf2/issues/2539