Issue Type: Bug Created: 2011-10-07T08:44:18.000+0000 Last Updated: 2012-05-29T17:28:21.000+0000 Status: Closed Fix version(s): Reporter: Osman Üngür (osman) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Controller
Related issues: Attachments:
Hi, I'm trying to use Twig as view renderer in Zend with modular convention. I created a class extends Zend_Application_Resource_View and it loads Twig in getView function.
Problem ; In Zend_Controller_Action_Helper_ViewRenderer, _viewBasePathSpec property points to ':moduleDir/views' folder. But in standard modular convention, view scripts placed in ':moduleDir/views/scripts' folder. (CLI tool creates this folder for placing views.)
PS : I solved this problem with overwriting default value ;
Posted by Adam Lundrigan (adamlundrigan) on 2012-05-29T17:28:21.000+0000
This cannot be fixed in ZFv1 without introducing possible backwards-compatibility issues. Those implementing alternative view renderers with ZFv1 will have to be responsible for setting up the configuration accordingly, as the OP's edit demonstrates
Have you found an issue?
See the Overview section for more details.