[eluser]Unknown[/eluser]
It is, if you call:
$this->load->view()
and you recall this function in the same execution, only outputs the last call. First call is loosed. Already not is possible store output in a variable, this appear empty.
I tried in the solution of call diferents "output" procedures, like:
$this->parser->parse()
If i call this function two times, fail, and only return the last call.
In this case, i have two methods to parse templates in a same execution, but i need three or more (header, body, footer).
How I can to parse three or more templates in the same execution?
Example:
Code:
function ParsePage()
{
$header = $this->load->view(header.php);
$body = $this->load->view(body.php);
$footer = $this->load->view(footer.php);
return $header.$body.$footer;
}
Tanks