• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.