Welcome Guest, Not a member yet? Register   Sign In
Creating an admin area
#1

[eluser]Mr Scientist[/eluser]
Hi all!

This is my first post to the CI forums. I've just started learning CI after doing a bit of dabbling in PHP. I'm finding CI a fantastic library to use and the documentation second to none.

Anyway, at the moment I'm developing a small website locally to help me get to grasps with CI, I find it better than doing tutorials. I'm trying to develop a simple admin side to it. I've created a login using the 'SimpleLogin' library, and would like to create an admin area behind this.

I currently have my admin controller setup in it's own folder within the root controllers folder.

I have a couple of questions regarding this:

- In order to have the URL mysite.com/admin do I have to use a re-write rule.

- In order to have the functions that I would like to use only accessible behind the admin area do I have to nest these within the admin controller (an example would be greatly appreciated)?


Messages In This Thread
Creating an admin area - by El Forum - 02-06-2009, 10:38 AM
Creating an admin area - by El Forum - 02-12-2009, 04:12 PM
Creating an admin area - by El Forum - 02-12-2009, 04:57 PM
Creating an admin area - by El Forum - 02-12-2009, 06:58 PM
Creating an admin area - by El Forum - 02-13-2009, 12:27 PM
Creating an admin area - by El Forum - 02-23-2009, 03:14 AM
Creating an admin area - by El Forum - 02-23-2009, 05:25 AM
Creating an admin area - by El Forum - 02-24-2009, 02:58 AM
Creating an admin area - by El Forum - 02-24-2009, 06:04 AM
Creating an admin area - by El Forum - 02-25-2009, 07:08 AM
Creating an admin area - by El Forum - 02-25-2009, 07:23 AM
Creating an admin area - by El Forum - 02-26-2009, 08:31 PM
Creating an admin area - by El Forum - 02-27-2009, 07:21 AM
Creating an admin area - by El Forum - 04-09-2009, 08:37 AM
Creating an admin area - by El Forum - 04-09-2009, 09:49 AM
Creating an admin area - by El Forum - 04-09-2009, 09:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB