codeigniter-template
codeigniter-template copied to clipboard
Template library for CodeIgniter which supports modules, themes, partial views, etc.
When you try to pass a single object to a view you get the following error: Object of class stdClass could not be converted to string But as soon you...
Hello, I created a composer.json file so library can use as a package by CodeIgniter. I've updated README file to explain how ti install it via composer. I am exciting...
It's said "Page missing"
I've added in the ability to call template->title() successively, each time building an array of title segments. This allows developers to add a global title and then build on that...
Setting the "Cache-control" header twice overwrites the first because CI's default "$replace" parameter in CI_Output::set_header is TRUE. The side effect of this is pages are not revalidated when navigating browser...
In partial view (header.php) I can't get the template title `` This is a fix
pass array to set additional metadata Example: $this->template->set_metadata('apple-touch-icon-precomposed', site_url('/images/apple-touch-icon-precomposed.png'), 'link', array('sizes' => '114x114'));
... since the set_theme method isn't fully effective until we know we have theme locations. Could move theme locations earlier in the config file, but that's still no guarantee somebody...
i'm getting the following error. PHP Fatal error: Call to a member function is_mobile() on a non-object in /home/sevenpix/public_html/application/libraries/Template.php on line 122 The site loads fine and everything seems to...