[eluser]Unknown[/eluser]
I'm trying to include Ion Auth in a Bootstrap template with Codeigniter. But I cant get it to work properly.
I'm pretty new with CI so maybe someone can help me on this one?
My auth.php controller files calls template files like this:
Code:
$this->_render_page('auth/login', $this->data);
Now i want to include this in my template as 'content' like this:
Code:
$this->load->view('template/user', array("content" => $this->_render_page('auth/login',$this->data array())));
But his doesn't work, it places the auth/login page above my template/user view. does anyone know how to solve this?
It would help me a lot