Issues

ZF2-494: Multiple renderers.

Issue Type: Bug Created: 2012-08-23T07:17:31.000+0000 Last Updated: 2012-10-08T20:14:49.000+0000 Status: Closed Fix version(s): Reporter: Roberto Wesley Overdijk (solow) Assignee: Matthew Weier O'Phinney (matthew) Tags: -

Related issues: Attachments:

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

Posted by Ralph Schindler (ralph) on 2012-10-08T20:14:49.000+0000

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

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts