[eluser]ericsodt[/eluser]
If interested in using my idea.. my 'template' system works like struts tiles (j2ee programming - if not familiar)
I have a simple layout file [siteLayout.php]
Code:
<?
include('header.php');
$this->load->view($content);
include('footer.php');
?>
Then from my controllers I 'inject' my content
Code:
$data = array(
'title' => 'My Page',
'content' => 'home',
'breadcrumbs'=>< breadCrumbInfomation >
);
$this->load->view('siteLayout',$data);
As you can see I load siteLayout, then inject the contents of home.php into it below the header and above the footer.
This is a real simple way to do templating and works well for me. I hope it does the same for you
Cheers