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

[eluser]Mr Scientist[/eluser]
[quote author="TheFuzzy0ne" date="1235409939"]Why do you have an admin directory inside the admin directory? That will be where your problem lies. You can only nest subdirectories in the controller directory one level deep.

Here's an example of the layout of the admin controller directory on my site, which doesn't use any routes. The default_controller has been set to "homepage" in my config file:

Code:
controllers        //directory
|
+--admin           // subdirectory
   |
   +--homepage.php // controller - default_controller
   |
   +--login.php    //controller
   |
   +--logout.php   // controller

It would really help if we could see your file structure, so we will be able to see where the directories and where the controllers are.[/quote]

My site is set out exactly as you have shown above. System > Application > Controllers > Admin > MyAdminController.php


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