Template Library Version 1.3 has been released. Version 1.3 adds new features for working with template parsers like Smarty.
Visit the Template Library Homepage
View the Change Log
Still using Template 1.2.1? See the Ignited Code thread covering Template 1.2.1
What’s New in Version 1.3?
Since Version 1.1, Template provided the parse_view() method, allowing programmers to utilize CI’s Template Parser class when writing to regions instead of just using standard PHP-coded Views. Version 1.3 expands this functionality, allowing the use of any additional template parser, like the popular Smarty Template Engine. Along these same lines, Version 1.3 allows the master template file to be parsed by any parser class instead of always being loaded as a View.
Using Template looks like this:
$this->template->write('title', 'Introduction to Template');
$this->template->write_view('content', 'blog/posts', $this->blog->get_posts());
Look interesting? Head over to the Template Library Homepage to begin using Template in your next CodeIgniter application.