- CiSmarty v0.2
- Cismarty consists of Codeigniter core files, Smarty engine and a few linker files.
- Codeigniter Home: ellislab.com/codeigniter
- Smarty Home: smarty.net
- Smarty Crash Course: smarty.net/crash_course
- PHP version 5.4.x
- Smarty is located at system/libs/smarty
- CI_Controller class is extended as MY_Controller under app/core directory to load Smarty.
- A library file added under app/libraries for linking Smarty to Codeigniter.
- Crate a new project.
- Get cismarty.
- Copy all files from cismarty to your project directory.
- Make sure the following directories have write permission:
- application/views/templates_c
- Use Class Controller extends MY_Controller instead of Class Controller extends CI_Controller This is required for smarty to run properly.