Hi, i did a fresh install of CI today and i am trying implement a moduler site but i am stuck.
I have created a Modules folder and inside the modules folder there are 4 modules
Admin = admin dashboard and everything admin
Auth = user registration/login and everything auth
Core = index page and everything site core
Users = users accounts, profiles and everything about the user.
So i want my core module to be the landing page. e.g if a user visites my site he will land on a page from core module.
This is what i have done.
i have list all my modules in app/config/autoload like so
'Modules\Core' => APPPATH . 'module/Core',
created a Views folder
created a Controllers folder
created Config folder
and all the corresponding folders but they are empty xcept the Controllers and the Views folders
i have copied the Home controller to Modules/Core/Controllers and changed the namespace to Modules\Core\Controllers and change the view to ('Modules/Core/Views/welcome_message')
I have edited app/config/routes to ('/', '\Modules\Core\Controllers\Home::index').
i am getting 404 sorry, cannot seem to find the your looking for.
Thanks in advance.