Today I started using Codeigniter+the modular extension from wiredesignz(hmvc) and I have a lot of unanswered questions but for the moment I will stick only to 1 .I understood how the modules work and I want to create a test website where I have 3 modules ( home,about and blog ) .
My folder structure :
Home
|-controllers
|-models
|-views
About
|-controllers
|-models
|-views
Blog
|-controllers
|-models
|-views
Now the question : How can I make the home module to be seen as homepage/main page ? I tried with config
$config['base_url'] = 'modules/home'; it didn't work
I tried some tweaks from the main index file but unfortunately it bricked my code. I tried with htaccess but nothing . Thank you .
Each module may contain a config/routes.php file where routing and a default controller can be defined for that module using:
Taken from wiredesignz.