2017 © Pedro Peláez
 

library codeigniter-smarty-parser

Smarty templating for Codeigniter as CI_Parser

image

muraveiko/codeigniter-smarty-parser

Smarty templating for Codeigniter as CI_Parser

  • Monday, April 3, 2017
  • by Muraveiko
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Codeigniter Smarty Parser

Integrate Smarty into your Codeigniter applications., (*1)

How install?

composer require muraveiko/codeigniter-smarty-parser, (*2)

How to use it?

Copy files from vendor\muraveiko\codeigniter-smarty-parser\dist directory in application folder. Edit your autoload.php file in the config folder, and add 'parser' to your list of autoloaded libraries. Instead of using $this->load->view() you now use $this->parser->parse() instead. That's it., (*3)

Supported versions of Codeigniter

CI Smarty has been tested and working on the latest version of Codeigniter (3.1.x)., (*4)

Theming support

CI Smarty comes with complimentary functionality to add theming support in your Codeigniter applications. Simply create a themes directory in the root folder of your app and then inside of that folders of themes. If you're not using themes, then don't add anything and CI Smarty will work fine without them. It's a good idea if you're building a web app to have a default theme in application/themes/themename and then allow themes in a different directory to override your default theme files., (*5)

Is based on CI Smarty

by Dwayne Charrington http://ilikekillnerds.com, (*6)

The Versions

03/04 2017

dev-master

9999999-dev

Smarty templating for Codeigniter as CI_Parser

  Sources   Download

MIT

The Requires

 

The Development Requires

by Oleg Muraveyko