I have worked with a custom php framework and django templates in the past, both of which support what I can describe as "base templates". Meaning you have a file where you have your headers and footers and a div lets say with the id "content". Now everything in your view files contain only the portion of code to fill that "content" div, the headers and footers are put in place by that base template.
How can I implement this sort of a "base layout" in codeigniter. And if that's not possible then how can I tell all my views to include a header.php and a footer.php file at the top and bottom of all my views respectively without having to add those includes manually to each view?