single modules folder with sub modules

Notice: This thread is very old.
simonjcarr
Member | 28
+
0
-

The application I am writing uses modules, I can get the default module structure to work AdminModule, FrontModule etc, but I want to put my modules in a Module folder and then split the modules in to front end and back end modules.

-app
---Modules
------AdminModule
---------ReportingModule
---------SecurityModule
---------UsersModule

------FrontModule
---------ReportingModule
---------SettingsModule
---------UsersModule

How can I achieve this?

Hurass
Member | 114
+
0
-

It's not a problem. You can change a directory structure and refactoring namespaces (namespace should be the same as folder structure). And you must edit your routes. How look your router now?

CZechBoY
Member | 3608
+
0
-

You dont need to change routes.. You can only change presenter mapping.

simonjcarr
Member | 28
+
0
-

Sorry, I don't understand what you mean by Presenter mapping.

CZechBoY
Member | 3608
+
0
-

in your configuration file

application:
	mapping:
		*: app\Modules\*Module\*Presenter