Yii 1.1: quicky-view-renderer

Allows you to use Quicky templates in Yii
3 followers

Note: Latest release and documentation are available from extension GitHub page.

Quicky view renderer

This extension allows you to use Quicky templates in Yii.

Resources

Requirements

  • Yii 1.0 or above

Installation

  • Extract the release file under protected/extensions.
  • Download and extract Quicky under protected/vendors/Quicky.
  • Add the following to your config file 'components' section:
'viewRenderer'=>array(
  'class'=>'ext.yiiext.renderers.quicky.EQuickyViewRenderer',
    'fileExtension' => '.tpl',
    //'pluginsDir' => 'application.quickyPlugins',
    //'configDir' => 'application.quickyConfig',
),

Usage

  • Quicky syntax is pretty much like Smarty 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}.

Change Log

0.9.2

  • Fixed renderFile method (Sam Dark)

0.9.1

  • Changed translation category to 'yiiext'.
  • New naming conventions.
  • readme_ru.
  • Fixed TIME and MEMORY variables.
  • Added $Yii variable.

0.9

  • Initial public release (Sam Dark)

Total 1 comment

#1253 report it
kosenka at 2009/10/13 08:26am
правка

вместо {this->pageTitle} надо писать:{$this->pageTitle}

Leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet
  • Yii Version: 1.1
  • License: New BSD License
  • Developed by: samdark
  • Category: Others
  • Votes: +3
  • Downloaded: 188 times
  • Created on: Oct 11, 2009
  • Last updated: Jun 23, 2013
  • Tags: renderer