keith Pope-4 wrote:
> 
> You need to specify the default module:
> 
> resources.frontcontroller.moduledirectory = APPLICATION_PATH"/modules"
> resources.frontcontroller.defaultmodule = "myModule"
> resources.frontcontroller.params.prefixDefaultModule = true
> 

Thanks for your speedy reply.

So does that mean I need to prefix all of my classes in the default module
with "Default_"? Perhaps that might work? Sorry if I'm being thick.
Shouldn't the default module in the lines above be just "default" and not a
named module? I can see that the "prefixDefaultModule = true" gives me a
different error becuse I haven't prefixed the default controllers. Otherwise
the extra lines you've given me have not fixed things.

Here's my layout just to clarify...

/application/controllers <- default controllers for default module
/application/configs
/application/forms
/application/layouts
/application/models
/application/modules
/application/modules/mymodule/ <- my module and subfolders
/application/views

Maybe I should create a "default" folder under modules and move all the
default controllers under there and prefix them with "Default_" too. Would
seem more logical that way. What I know about modules I have managed to
learn from sample code, so I still find the bootstrap to be fairly tricky.

thanks,
Andy

-- 
View this message in context: 
http://www.nabble.com/the-resources.modules---entry-tp25381565p25382824.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to