Template system in CodeIgniter like wordpress? Template system in CodeIgniter like wordpress? codeigniter codeigniter

Template system in CodeIgniter like wordpress?


Have a look at my Template library. It supports modules, themes, partials and layouts so you can create one main layout for each theme then have modular views if you wish.

While you are not a fan of Smarty, you might be interested in trying Dwoo. They are both very similar but Dwoo has the advantage of not sucking major donkey balls, which is Smarty's main downfall. I have written an extension for the CodeIgniter Parser library to get it to use Dwoo, which integrates perfectly with my Template library.

Between the two you can make pretty powerful, theme-able MVC applications.


Check out

http://www.williamsconcepts.com/ci/codeigniter/libraries/template/index.html

Template is right for you if:

  • You feel like using views can be clunky, especially when "embedding" views.
  • You don't like calling header, footer, and other global views from every Controller method.
  • You prefer having one "master template" that can be changed for any controller in order to meet unique application design needs.
  • You don't want to drastically alter the way you interface controllers and views.
  • You like clear, thorough documentation on par with CodeIgniter's User Guide.