https://github.com/dbtek/cismarty
Codeigniter and Smarty Template Engine Bundle
https://github.com/dbtek/cismarty
Last synced: 2 months ago
JSON representation
Codeigniter and Smarty Template Engine Bundle
- Host: GitHub
- URL: https://github.com/dbtek/cismarty
- Owner: dbtek
- License: other
- Created: 2013-07-14T19:54:29.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-02-03T08:32:25.000Z (over 12 years ago)
- Last Synced: 2025-03-12T15:51:03.154Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 2.48 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
Codeigniter and Smarty Bundle
==============
About
--------------
- [CiSmarty v0.2](https://github.com/dbtek/cismarty/releases "Latest release")
- Cismarty consists of Codeigniter core files, Smarty engine and a few linker files.
- Codeigniter Home: [ellislab.com/codeigniter](http://ellislab.com/codeigniter)
- Smarty Home: [smarty.net](http://www.smarty.net)
- Smarty Crash Course: [smarty.net/crash_course](http://www.smarty.net/crash_course "More than just introduction")
Requirements
---------------------
- PHP version 5.4.x
Technical Information
---------------------
- 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.
Installation
----------
- 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.*