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

[eluser]SpooF[/eluser]
I'm having some trouble trying getting some nested controllers to work.

This is my file struchure:

Code:
+system
     +application
            +controllers
                  +admin
                      -clients.php
                      -stage.php
                   -go.php
                   -stage.php

I can access all the controllers, but for some reason in the clients controller. I can only access two functions.

Clients.php:
Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Clients extends Controller {

    function Clients()
    {
        parent::Controller();    
    }
    
    function index()
    {
        echo 'index';    
    }
        
    function display()
    {
        echo 'display';
    }
    
    function view()
    {
        echo 'view';
    }
    
}
?>

I can access the index and display functions, but when I try to get to view funtion it gives me a 404.

Here are the links

http://clients.imageworksdigital.com/ind...ents/index
http://clients.imageworksdigital.com/ind...ts/display
http://clients.imageworksdigital.com/ind...ients/view

No .htaccess file.
#2

[eluser]Rick Jolly[/eluser]
http://ellislab.com/codeigniter/user-gui...names.html




Theme © iAndrew 2016 - Forum software by © MyBB