Welcome Guest, Not a member yet? Register   Sign In
Admin module
#5

[eluser]PhilTem[/eluser]
Well, as @pickupman mentioned, you don't NEED HMVC, but if you want to have your site a little more structured (and have code easily reusable) then HMVC will be the right thing for you.

Otherwise, to get your admin-controller working, you have to put it into ./application/controllers with whatever name you prefer.
Before using HMVC, I had a folder admin within the controllers folder where I put all admin-controllers. That way you have basic/public controllers separated from admin-controllers very easily. Just put a controller called index inside the admin-folder and it will handle the default actions when www.example.com/admin is called.


Messages In This Thread
Admin module - by El Forum - 02-23-2012, 10:19 AM
Admin module - by El Forum - 02-23-2012, 10:25 AM
Admin module - by El Forum - 02-23-2012, 10:39 AM
Admin module - by El Forum - 02-23-2012, 02:23 PM
Admin module - by El Forum - 02-24-2012, 01:19 AM
Admin module - by El Forum - 02-24-2012, 04:15 AM
Admin module - by El Forum - 02-24-2012, 04:18 AM
Admin module - by El Forum - 02-24-2012, 04:39 AM
Admin module - by El Forum - 02-24-2012, 04:56 AM
Admin module - by El Forum - 02-24-2012, 05:09 AM
Admin module - by El Forum - 02-24-2012, 05:19 AM
Admin module - by El Forum - 02-24-2012, 05:30 AM
Admin module - by El Forum - 02-24-2012, 07:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB