Landing Page Details

Summary

In the traditional view system of CI one must embed frontend logic into each individual view. This library creates the same modular organization to frontend logic as exists in the backend.

Templating is done by layering the standard CI view system and extending it to asset management. The basic idea is that for every single CI view there are individual CSS and Javascript files that correlate to it.

As easy as:

$this->template
    ->set('title', 'Template Library for Codeigniter')
    ->set('view', 'welcome/index')
    ->set('template', 'basic')
    ->render();

Features

  • Organizes your frontend logic (css & js)
  • Reduces redundant coding
  • Supports AJAX output (no theme)
  • Well documented

Illustration of ezTemplate

Version History

Version 1.0.0

  • Initial release
  • nwebapp

    2012-09-05 17:50:17
    Purchased Reply

    The "ezTemplate" allows system design easier than ever really.

  • DLINSMEYER

    2012-09-06 09:16:37
    Purchased Reply

    Thank you!

  • pauld123

    2012-12-08 18:08:29
    Purchased Reply

    I am very tempted to try this out. Is the author still about?

  • DLINSMEYER

    2012-12-18 13:43:11
    Purchased Reply

    Hey Paul, I am still about!

  • var

    2012-03-21 11:10:32
    Purchased Reply

    Impressive library. This has saved me ages, from loading individual js or css files on each page.. This is my first time coding with CI, and this library has made it a lot easier for many stuff I wanted to do. Very thorough documentation, and incredible support. I really recommend buying this script.

  • DLINSMEYER

    2012-03-22 02:15:33
    Purchased Reply

    Thanks!!

  • prototype_studio

    2012-03-15 21:57:25
    Purchased Reply

    Nice! CI + Bootstrap = Fast Development.. Please, modify and submit as "ezMobileTemplate, a CodeIgniter library w/ jQuery Mobile" ;)

  • DLINSMEYER

    2012-03-16 04:33:00
    Purchased Reply

    I may add that as a second example in the distribution package soon, thats a good idea, thanks.

  • perlbrain

    2012-10-19 20:11:13
    Purchased Reply

    I can't see the demo. Is something wrong with your server 'box1.host1free.com', it's very slow and gives errors all the time. I've trying for a couple of days now to see the demo, but no luck.....

  • soulviver

    2012-03-15 11:08:18
    Purchased Reply

    our company is switching its website over to code a code ingniter framework. forwarded this over to the powers that be

  • DLINSMEYER

    2012-03-15 11:27:13
    Purchased Reply

    I'm glad to hear it, it's a solid framework, I can support any of my work via email or skype.

  • r3dbulld0g

    2015-02-13 02:36:14
    Purchased Reply

    Hello. I`m sorry for my stupid question but I didn`t understand is this library works with HMVC CI? I mean will it work well with HMVC? Thanks in advance :)

  • DLINSMEYER

    2015-04-01 12:25:07
    Purchased Reply

    Heya, it does. HMVC CI just changes the directory organization

  • AZ_TUNES

    2017-04-05 17:02:55
    Purchased Reply

    Cool Item! Good Luck!

  • pauld123

    2013-01-07 03:00:17
    Purchased Reply

    Had time to have a play with it over Christmas and this library is brilliant. Five stars, easy to use, example supplied is perfect, so far no problems whatsoever. It works so well and is the perfect templating system, really has made CI easier to work with on sites with complicated layout variations. Just wanted to report that back and a big Thank you for such impressive work. Best wishes, Paul..

  • tvcash

    2013-08-06 00:08:06
    Purchased Reply

    How do I purchase? What's your email?

  • DLINSMEYER

    2014-01-05 11:46:48
    Purchased Reply

    Hi tvcach, purchase of this library is exclusively through CodeCanyon.

  • spee65

    2013-10-04 17:48:40
    Purchased Reply

    is there developing now on this tool ? new bootstrap or other features of this time ? i think to buy it but long time is not doing here ..

  • DLINSMEYER

    2014-01-05 11:45:25
    Purchased Reply

    Hi Spee65, this project has been shelved as I have moved on to developing largely with Symfony2/Silex/Laravel these days.

  • pauld123

    2012-12-20 01:21:21
    Purchased Reply

    Thank you Dlinsmeyer, I won't be able to try this out now properly until after xmas as it is for one of my own projects and I have a bit of a customer backlog to deal with first. However I am looking forward to trying it out, seems to do exactly what I wanted for CI. Just wanted to make sure you were still about before I bought it. Thanks again and merry christmas. Paul.

  • prtsoft

    2012-05-09 20:40:34
    Purchased Reply

    Is there a way to pass data to the final view? For example, my current code does: $this->load->view('example.php',$output); There doesn't appear to be a way to do this.

  • DLINSMEYER

    2012-05-10 06:59:33
    Purchased Reply

    Hey Prtsoft, yes absolutely, $this->template->set('varname', $vardata);

  • prtsoft

    2012-07-20 05:34:53
    Purchased Reply

    Thank you for writing this tool! This has saved me so much time and I will continue to use it!

  • DLINSMEYER

    2012-08-31 22:52:21
    Purchased Reply

    I'm glad you like it! Thank you!

  • var

    2012-03-17 08:15:51
    Purchased Reply

    Is this a template engine, like: {foreach from=$addressbook item="name"} {/foreach} or is it to manage the blocks of code through your admin page?

  • DLINSMEYER

    2012-03-17 10:27:16
    Purchased Reply

    A little bit of both, that sounds vague but let me try and explain in a few principle ideas: 1) First, and foremost, this library actually integrates well with Smarty (a common "decorator", not the same thing). 2) This library centralizes your design template (essentially, you create one "template" file for each separate layout scheme of your site, most applications only have two of these.. (1) Login page, (2) The rest. You know, header, nav menu, footer, ..., etc that wrap the specific content of any single page. 3) It extends the traditional CI "view" system by automatically loading front-end logic files that are unique to a given view... for example.. Consider that for some controller: Foo, I have defined a Method: Bar. Now, lets say that within the Bar method (http://www.mysite.com/foo/bar), I want to output a view that is specific to "Bar"... let that view be named bar_view.php, this view is like any other CI view in the world. The difference now, is that with the ezTheme library installed, that view gets wrapped by your desired design template (header, nav, footer, blah blah blah) and more importantly, the library will load (if they exist) frontend logic and design files specific to the view, in this case it would look for bar_view.css, and bar_view.js. 3) This may sound trivial, but in large applications where logic files can become convoluted and unwieldy, this modularization is very, very valuable. If you are interested in asking any specific questions, or truly interested in the library, I'm happy to Skype with you.

  • var

    2012-03-17 14:08:53
    Purchased Reply

    wow, thanks for the detailed reply. Im currently, trying to move a current project to the CI framework. And im probably going to buy it, as soon as im able to say that im ready, and understand the whole concept of CI, because this is the first time im using it. Thank you very much for the detailed reply, and im probably going to buy it soon :) -- Var

  • DLINSMEYER

    2012-03-17 18:10:39
    Purchased Reply

    Good luck! CI is really, really well documented hopefully that helps... I know I usually have the CI User Guide open daily.

  • bakerman

    2013-09-11 00:04:03
    Purchased Reply

    hi, Is there HMVC support?

  • DLINSMEYER

    2014-01-05 11:46:20
    Purchased Reply

    Hi Bakerman, it should with with an HMVC configuration of CI.

  • finnglider

    2014-01-23 22:53:27
    Purchased Reply

    Hi, after installing, I get an error: Severity: Notice Message: Undefined variable: template_default Filename: libraries/Template.php Line Number: 397 I am trying to find what is causing the error, but getting stumped, can you help, does this error look familiar? I am using the default installation paths setup in template.php

  • nwebapp

    2013-02-23 22:58:11
    Purchased Reply

    Pls. help me, DLINSMEYER my code: $meta _name = array('KEYWORDS' => 'Hello test',); $this->template->set('meta', $meta_name, 'bar'); CI:Error = "A PHP Error was encountered Severity: Warning Message: Illegal offset type Filename: libraries/template.php Line Number: 243" Guide to me Thank you

  • LynChen

    2015-05-12 12:42:11
    Purchased Reply

    hi i have an oscommerce site, if i purchae this, will it work with osC, and do i get a installation documentation? Thanks

  • DLINSMEYER

    2016-07-15 14:46:43
    Purchased Reply

    Possibly, but you'd have to be using CodeIgniter within osC.