[eluser]Michael Wales[/eluser]
This is how it should look.
Controller:
Code:
function index() {
$this->load->view('header');
}
View - Header:
Code:
<html>
<head>
<title>Wizard</title>
</head>
<body>
<? $this->load->view('content'); ?>
<? $this->load->view('sidebar'); ?>
</body>
</html>
Is yours similar in nature?
BTW: I think the logic is kind of backwards in this example - you should really load a unique template for the method, which would then load the header, footer, sidebars, whatever else. I can foresee a lot of issues using the header as the entry point to the template.