2009/9/10 andeeh <an...@alh.me.uk>:
>
>
> 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

I always use prefixDefaultModule = true so that everything is nicely
namespaced and I get no clashes in the future, also I put everything
within the modules directory apart from a few global helpers etc,.


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



-- 
----------------------------------------------------------------------
[MuTe]
----------------------------------------------------------------------

Reply via email to