Welcome Guest, Not a member yet? Register   Sign In
routing and controllers
#1

[eluser]deineMudder[/eluser]
Hello,
sadly i got another basic question i guess, where i lack understanding of CI.

my actual controller folder looks like this
Code:
controllers
+ admin
  - user.php
  - navigation.php
  - article.php
  - roles.php
  - ....
- homepage.php

im trying to create a small CMS for a site and thought that structure for the administration part could be handy.

each controller (i.e. user.php) has the functions insert, edit, delete ...
as soon as i try to access those controllers hes trying to load a function of admin

controller (admin), function (user)
instead of subfolder (admin), controller (user), function (index)

anyone who could help a newbie to set it up correctly? Wink


Messages In This Thread
routing and controllers - by El Forum - 06-24-2007, 12:50 AM
routing and controllers - by El Forum - 06-24-2007, 01:05 AM
routing and controllers - by El Forum - 06-24-2007, 01:15 AM
routing and controllers - by El Forum - 06-24-2007, 01:25 AM
routing and controllers - by El Forum - 06-24-2007, 01:29 AM
routing and controllers - by El Forum - 06-24-2007, 01:50 AM
routing and controllers - by El Forum - 06-24-2007, 02:32 AM
routing and controllers - by El Forum - 06-24-2007, 02:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB