dwoo-view-renderer Allows you to use Dwoo templates in Yii

  1. Change Log
  2. 0.9.2
  3. 0.9.1
  4. 0.9

Note: Latest release and documentation are availble from extension page at github.

This extension allows you to use Dwoo templates in Yii.

Resources
Requirements
  • Yii 1.0 or above
Installation
  • Extract the release file under protected/extensions.
  • Download and extract Dwoo (dwoo-x.x.x.tar\dwoo) under protected/vendors/Dwoo.
  • Add the following to your config file 'components' section:
'viewRenderer'=>array(
  'class'=>'ext.yiiext.renderers.dwoo.EDwooViewRenderer',
    'fileExtension' => '.tpl',
    //'pluginsDir' => 'application.dwooPlugins',
),
Usage
  • Dwoo syntax.
  • 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.
  • Added Yii varialbe.
  • Added TIME and MEMORY variables.

0.9

  • Initial public release (Sam Dark)
1 0
6 followers
301 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Others
Tags: renderer
Developed by: samdark
Created on: Oct 13, 2009
Last updated: 7 years ago

Related Extensions