Welcome Guest, Not a member yet? Register   Sign In
HMVC and controllers
#1

[eluser]MgM Web[/eluser]
Im currently using Modular Extensions - HMVC to implement modules on my site. This is working great until I found out something weird.

Looks like the HMVC takes controll of the default controllers. I am trying to add a new controller in a subfolder "system/application/controllers/subfolder/my_controller.php". But when I try to acces this page using "http://www.mysite.com/subfolder/my_controller" I get an 404 Page nit found error.

But if i create the same file under modules using "system/application/modules/subfolder/controllers/subfolder.php" the page is showing correctly.

Is this the way it is supposed to work? Do I have to create the new controllers inside the modules structure or am I missing something?


Messages In This Thread
HMVC and controllers - by El Forum - 06-14-2008, 06:17 PM
HMVC and controllers - by El Forum - 06-14-2008, 07:05 PM
HMVC and controllers - by El Forum - 06-15-2008, 02:21 AM
HMVC and controllers - by El Forum - 06-15-2008, 02:29 AM
HMVC and controllers - by El Forum - 06-15-2008, 02:41 AM
HMVC and controllers - by El Forum - 06-15-2008, 02:55 AM
HMVC and controllers - by El Forum - 06-15-2008, 05:04 AM
HMVC and controllers - by El Forum - 06-15-2008, 06:19 AM
HMVC and controllers - by El Forum - 06-15-2008, 06:32 AM
HMVC and controllers - by El Forum - 01-25-2009, 06:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB