Hi All. I've configured my default project to incorporate modules. I have a module called admin. The default module is just in the regular application folder (is not a folder called "default" under modules folder I think that's ok).
There a line in my config: resources.modules[] = "" ...which causes some interesting behaviour that I can't understand: 1. WITHOUT this line the Module_Bootstrap in the root of the module does not execute, but everything else works fine. -- or -- 2. Including the line my default module breaks and throws "Zend_Loader_PluginLoader_Exception" for all requests 3. With this line any invalid requests in the admin module the throw the same exception instead of a 404. Here are the relevant lines from my application.ini resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers" resources.frontController.moduleDirectory = APPLICATION_PATH "/modules" resources.layout.layoutpath = APPLICATION_PATH "/layouts" resources.layout.layout = "layout" admin.resources.layout.layout = "admin" resources.modules[] = "" I'm obviously missing something here, perhaps the ordering is wrong? I could leave the resources.modules line out altogether but from what I read it is necessary to have it for bootstrapping modules. I'd also like to have a bootstrap for each module because so I can load a different navigation.xml file for each module using Zend_Navigation. thanks, andy -- View this message in context: http://www.nabble.com/the-resources.modules---entry-tp25381565p25381565.html Sent from the Zend Framework mailing list archive at Nabble.com.
