I have and Admin with basic "core" funtionality thay i want to have in all my projects, and also i want to have a Admin panel with especific project funtionality.
I think in something like this:
modules folder (modules)
-> admin folder (modules/admin)
-> core folder (modules/admin/core)
-> blog folder (modules/admin/blog) (is only an example)
I have set in my config.php always load 'modules' => array('admin/core','admin/blog')
But if i try to access to: http://localhost/site/public/admin/core i get a 404 error, i get also wit ..site/public/admin/core/admin (i have a Controller_Admin in that folder)
I have set the namespace to Core, but i try also with Admin\Core, but it doesn't work.
What am I doing wrong?
Maybe there is another way to get what i want (decentraliced admin core basically), but I don't know that ways.
The first two routes make sure /admin/core/... gets to the admincore module, and the same for the second route. The remaining to are optional, but make sure /adminblog/... won't work (you have to route to your 404 controller there).