-
Notifications
You must be signed in to change notification settings - Fork 1
/
readme_en.txt
34 lines (28 loc) · 1.23 KB
/
readme_en.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Quicky view renderer
====================
This extension allows you to use [Quicky](http://code.google.com/p/quicky/) templates in Yii.
###Resources
* [SVN](http://code.google.com/p/yiiext/source/browse/trunk/app/extensions#extensions/yiiext/renderers/quicky)
* [Quicky](http://code.google.com/p/quicky/)
* [Discuss](http://www.yiiframework.com/forum/index.php?/topic/4924-quicky-view-renderer/)
* [Report a bug](http://code.google.com/p/yiiext/issues/list)
###Requirements
* Yii 1.0 or above
###Installation
* Extract the release file under `protected/extensions`.
* [Download](http://code.google.com/p/quicky/) and extract Quicky under `protected/vendors/Quicky`.
* Add the following to your config file 'components' section:
~~~
[php]
'viewRenderer'=>array(
'class'=>'ext.yiiext.renderers.quicky.EQuickyViewRenderer',
'fileExtension' => '.tpl',
//'pluginsDir' => 'application.quickyPlugins',
//'configDir' => 'application.quickyConfig',
),
~~~
###Usage
* Quicky syntax is pretty much like [Smarty](http://www.smarty.net/docs.php) one.
* Current controller properties are accessible via {$this->pageTitle}.
* Yii properties are available as follows: {$Yii->theme->baseUrl}.
* Used memory is stored in {$MEMORY}, used time is in {$TIME}.