- This package is a port of Phil Sturgeon Codeigniter Template library. http://philsturgeon.co.uk/code/codeigniter-template
Copy config/template.php to app/config/template.php and change whatever setting in need of changing.
$this->template = Template::forge();
All Layout files should be in the layout folder and by default will be app/views/layouts/default.php, but this can be changed.
$this->template->set_layout('default');
$this->template->set_theme('mytheme');