ZF-6462: View adding extension to called resource / Docs wrong?

Issue Type: Bug Created: 2009-04-29T00:21:48.000+0000 Last Updated: 2009-04-29T08:40:02.000+0000 Status: Resolved Fix version(s): - 1.9.0 (31/Jul/09)

Reporter: Aaron Judd (aaronjudd) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Application

Related issues: - ZF-6464



In the documentation for Zend_Application, 4.2.3 suggests:

resources.layout.layout = "layout.phtml"

However, this causes: Uncaught exception 'Zend_View_Exception' with message 'script 'layout.phtml.phtml' not found in path

As you can see, .phtml is being added, removing the file extension works, but seems to be a contradiction in style. In either case it appears the layout loader is wrong or the documentation is wrong.

Using Trunk.


Posted by Matthew Weier O'Phinney (matthew) on 2009-04-29T08:40:00.000+0000

Fixed in trunk and 1.8 release branch; will update on site with 1.8 release.

Have you found an issue?

See the Overview section for more details.


© 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.