Welcome Guest, Not a member yet? Register   Sign In
Modular Extensions HMVC Default Controller
#1

[eluser]boxyee[/eluser]
Just started using Modular Extensions and trying to figure out how to load a default controller.

Can anyone point me in the right direction?
Thanks,
#2

[eluser]wiredesignz[/eluser]
Code:
$route['default_controller'] = 'module_name/controller_name';
#3

[eluser]boxyee[/eluser]
[quote author="wiredesignz" date="1296876491"]
Code:
$route['default_controller'] = 'module_name/controller_name';
[/quote]

Thanks for the reply, but it doesn't seem to work. After installing Extensions, I deleted the welcome controller from the original controllers directory and put it modules/welcome/controllers.

In routes.php $route['default_controller'] = 'welcome/welcome';, but it doesn't seem to show the welcome controller. I have changed the welcome controller to extend MX_Controller, but am getting a 404 error.

At the moment I have created a controller in the old folder, but still extending MX_Controller, but its not ideal.

What do you think the problem is?




Theme © iAndrew 2016 - Forum software by © MyBB