![]() |
|
|||
|
I'm 2 days into using Zend framework and I just wanted to know whether anyone has successfully integrated Dwoo with version 1.8?
I seem to be able to find a tonne of information on integrating ZF with templating engines and third party tools, but they are all very old articles, don't seem to work very well with 1.8 or very poorly written docs. Any help would be appreciated. Cheers. |
|
|||
|
I deleted Dwoo autoloader, and used Zend_Loader.
in Bootstrap.php: [PHP] protected function _initAutoload(){ $autoloader = Zend_Loader_Autoloader::getInstance(); $autoloader->setFallbackAutoloader(true); $autoloader->registerNamespace(array('My_')); $resourceLoader = new Zend_Loader_Autoloader_Resource(array( 'basePath' => APPLICATION_PATH, 'namespace' => '', )); $resourceLoader->addResourceTypes( array( 'model' => array( 'path' => 'models', 'namespace' => 'Model', ), 'dwoo' => array( 'path' => '../library/dwoo', 'namespace' => 'Dwoo', ) ) ); } [/PHP] Now i put dwoo directly in library. it really works. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
| Designed by: Miner Skinz |
Powered by vBulletin® Version 3.8.4 Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. Search Engine Friendly URLs by vBSEO 3.1.0 |
![]() |