First I have included this library within my construct like so...
function __construct()
{
parent::__construct();
$this->load->database();
$this->load->helper('url');
$this->load->library('grocery_CRUD');
}
At this point my index() function calls each template or view I have setup and assigns them to the default view like so...
public function index()
{
$x = $this->licenses();
$bData = array('message'=>$x->output,
'css_files'=>$x->css_files,
'js_files'=>$x->js_files,
'output'=>$x->output);
$data = array('header'=>$this->load->view('header', '', true),
'footer'=>$this->load->view('footer', '', true),
'main'=>$this->load->view($body, $bData, true),
'login'=>$this->load->view('myTFH/auth', '', true));
$this->load->view('welcome_message', $data);
}
public function licenses()
{
$this->grocery_crud->set_table('license');
return $this->grocery_crud->render();
}
The table data populates the grid without problems however during this load I recieving routing errors like this...
[quote]POST: ajax_list_info - Unable to load your default controller. Please make sure the controller specified in your Routes.php file is valid.
[/quote]
I realize I may not be implementing this in the same maner as the examples show but is there any way I can tell the current implementation to route through my default controller?
Any help is appreciated.