Welcome Guest, Not a member yet? Register   Sign In
Multi-level subfolders for controllers in CI 2.x
#3

[eluser]sehummel[/eluser]
This is great, Damien, but I can't seem to get it working. I placed the code in a file called MY_router.php in the application/libraries folder and uploaded it. I have a controller called markets that I put in the test folder in the cms folder (controllers/cms/test/markets.php). I uploaded this folder structure and even built a route for it. But I get a 404 error.

My subclass prefix is set to the default of "MY_" so that's not the problem. Any idea off hand what I might be doing wrong? Will your router file work for the folder structure I have? It looks like it from your post, but I wasn't quite sure.

I really appreciate your help with this!


Messages In This Thread
Multi-level subfolders for controllers in CI 2.x - by El Forum - 06-01-2011, 01:23 PM
Multi-level subfolders for controllers in CI 2.x - by El Forum - 06-02-2011, 10:52 PM
Multi-level subfolders for controllers in CI 2.x - by El Forum - 06-03-2011, 02:25 PM
Multi-level subfolders for controllers in CI 2.x - by El Forum - 06-03-2011, 03:22 PM
Multi-level subfolders for controllers in CI 2.x - by El Forum - 06-05-2011, 03:14 AM
Multi-level subfolders for controllers in CI 2.x - by El Forum - 06-05-2011, 03:34 AM
Multi-level subfolders for controllers in CI 2.x - by El Forum - 06-06-2011, 07:06 AM
Multi-level subfolders for controllers in CI 2.x - by El Forum - 06-06-2011, 07:08 AM
Multi-level subfolders for controllers in CI 2.x - by El Forum - 06-06-2011, 07:19 AM
Multi-level subfolders for controllers in CI 2.x - by El Forum - 01-24-2012, 06:04 PM
Multi-level subfolders for controllers in CI 2.x - by El Forum - 01-24-2012, 09:46 PM
Multi-level subfolders for controllers in CI 2.x - by El Forum - 12-27-2012, 01:53 AM
Multi-level subfolders for controllers in CI 2.x - by El Forum - 02-28-2013, 05:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB