[eluser]Sein Kraft[/eluser]
Thanks, now is working.
But still have the doubt about that because...for example. I need the "global" header but where i put this?
Code:
$this->load->library('parser');
$data = array(
'username' => $this->username_from_session(),
'new_messages' => $this->new_messages()
);
$this->parser->parse('header', $data);
Because I'm putting this on every function and is a bit messy, I want to avoid that.
Should I put that on:
Code:
function Users(){
parent::MY_Controller();
}
And then the view for each funcion in the funtion? and whats happend with the footer where I should put it?