Template Version 1.3 has been released.
Template Library Version 1.2.1 has been released. Version 1.2.1 fixes a major bug found in 1.1 and 1.2 with the add_css() and add_js() methods. Upgrade RECOMMENDED.
——————————————————————————————————————————-
Visit the Template Library Homepage
View the Change Log
Still using Template 1.2? See the Ignited Code thread covering Template 1.2
——————————————————————————————————————————-
The Template library, written for the CodeIgniter PHP-framework, is a wrapper for CI’s View implementation. Template is a reaction to the numerous questions from the CI community regarding how one would display multiple views for one controller, and how to embed “views within views” in a standardized fashion. In addition, Template provides extra Views loading capabilities and shortcuts for including CSS, JavaScript, and other common elements in your final rendered HTML.
Using Template looks like this:
$this->template->write('title', 'Introduction to Template');
$this->template->write_view('content', 'blog/posts', $this->blog->get_posts());
$this->template->render();Look interesting? Head over to the Template Library Homepage to begin using Template in your next CodeIgniter application.