Issue Type: Docs: Problem Created: 2009-06-23T05:40:32.000+0000 Last Updated: 2009-08-21T12:07:22.000+0000 Status: Resolved Fix version(s): - 1.9.2 (25/Aug/09)
Reporter: Matthijs van den Bos (firstname.lastname@example.org) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Application
Related issues: - ZF-7089
The Example (4.4) under 4.6.3 Zend_Application_Resource_Modules describes how to set some extra configuration per module. In the example the layout is set for the news module:```` The example gives the impression that you can set up things like layout and db per module, but as I pointed out in ZF-7089, module resources will always overwrite the default resources.
After Matthew's explanation in ZF-7089, I understand that this is expected behaviour. Module bootstraps are always loaded, for instance to set up routes prior to dispatch. They should not be used for setting up per-module resources.
I think the documentation should reflect this.
Posted by Matthew Weier O'Phinney (matthew) on 2009-06-23T07:53:41.000+0000
You can load module-specific resources. As noted, however, perhaps using "layout" as an example in the manual was a bad idea. For cases where the application bootstrap has already defined the resource, you should define a new resource in order to prevent collisions.
I'll update the documentation accordingly.
Posted by Matthew Weier O'Phinney (matthew) on 2009-08-21T12:07:22.000+0000
Removed the layout key from the examples; will release with 1.9.2.
Have you found an issue?
See the Overview section for more details.