[eluser]Mobious[/eluser]
Hi Andrew,
All of the controllers that we have created are doing the same problem but I will post an overview of a controller
Code:
class test extends Controller
{
function test()
{
parent::Controller();
// load models, libs, helpers, etc
}
function index
{
// General processing
$data = array('header' => 'test');
$content = array('content' => 'Hello World');
$this->parser->parse('header.tpl.htm', $data);
$this->parser->parse('template.tpl.htm', $content);
$this->load->('footer.tpl.htm');
}
}
That is the jist of it (obviously with more code) but all of the above processing goes into the two arrays to be parsed.
Hope you you can help.