I relocated three weeks ago so i totally understand! Here are the relevant folders in my current structure:
-application -modules --default ---controllers ----IndexController.php ----ProfileController.php --custom-1 ---controllers ----FooController.php ----BarController.php --custom-2 ---controllers ----FooController.php ----BazController.php The default module is always used. Depending on the APPLICATION_ID another module is added. APPLICATION ID = 1 adds custom-1. APPLICATION_ID = 2 adds custom-2 etc. Custom modules can have similar controllers (f.e. Foo) but mainly they have their own ones (Bar in custom-1 or Baz in custom-2). Regardless of the APPLICATION_ID respectively the custom-module being set I would like to use a fixed module-name (f.e. "content"). APPLICATION_ID = 1 custom-module = custom-1 domain.tpl/content/foo => modules/custom-1/foo/index domain.tpl/content/bar => modules/custom-1/bar/index APPLICATION_ID = 2 custom-module = custom-2 domain.tpl/content/foo => modules/custom-2/foo/index domain.tpl/content/baz/test => modules/custom-1/baz/test I should have written this down from the first moment! Hope this helps! -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Dynamically-routing-a-module-to-different-controllers-tp3582673p3601831.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
