02-12-2009, 03:19 AM
[eluser]Colin Williams[/eluser]
Or, fetch a smaller view and send it to the main one
Or, fetch a smaller view and send it to the main one
Code:
$data['part'] = $this->load->view('part', '', TRUE);
// Use TRUE to capture result and not render it
$this->load->view('page', $data);
// There is now a $part var in the page.php view the holds the rendered contents of the part.php view