Dwoo view renderer

This extension allows you to use Dwoo templates in Yii.


I have some difficult to integrate Dwoo, why don’t you post a little basilar guide to use dwoo with yii.

Specially to integrate block in main layout.

Sorry for my english.

I had some difficulties to get the Dwoo view renderer installed, the english instructions at http://yiiext.googlecode.com/svn-history/r108/trunk/app/extensions/CDwooViewRenderer/readme_en.txt initially led to a white page, here’s how it worked for me:




    'fileExtension' => '.tpl',

//  'pluginsDir' => 'application.dwooPlugins',


Deploying first Dwoo view template:

  • Simply add the template file into the views folder, e.g: /protected/views/site/index.tpl

EDIT: I got this working on my own, I’m rather embarrassed to admit that when I downloaded the extensions php file somehow it had some html encoded markup that was throwing php off. Nothing to see here, move along…


I followed the steps above, however, when I go to index.php I get the following error:

include(CDwooViewRenderer.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory

Source File


my config values look like:



			'fileExtension' => '.tpl',

			//'pluginsDir' => 'application.dwooPlugins',


I have the Dwoo plugins folder and CDwooViewRenderer.php in \protected\extensions\Dwoo and have all Dwoo files (folders cache, compiled, Dwoo, plugins) like Dwoo.php and dwooAutoload.php in \protected\vendors\Dwoo

Can someone help me understand where I’m going wrong here? Any help would be appreciated. Also I’m new to Yii so maybe I’m just not understanding something simple.