I'd suggest putting all the module structures in application/modules/ then in your bootstrap you can configure the module path with $frontController->addModuleDirectory('../application/modules/');
I got problems with planning site, i want to make it easyly extendable and maintainable, something like with modules news, feedback, admin section. I think that site structure should look like this.
But i dont have no idea how to connect the admin controller with others modules, like i would see in admin module News CRUD and feedback Crud.Code:application -default --controllers --models --views --config -news --controllers --models --views --config -feedback --controllers --models --views --config -admin --controllers --models --views --config
My solution is to do add in each module adminController? I hope you understand my not well explained problem![]()
I'd suggest putting all the module structures in application/modules/ then in your bootstrap you can configure the module path with $frontController->addModuleDirectory('../application/modules/');
I did something similar just i didnt create the modules folder, but when i tried to implement modular structure i run into many problems. I made in news module new controller News_IndexController and added the views. But when i run the code it gave error that it dosent have such view, so i saw it takes from default app the views not from news module. Other problem were with layout, so it cant find the parts of the layout header, footer, navigation..![]()