+ Reply to Thread
Results 1 to 4 of 4

Thread: ZF + Dwoo teplate engine

  1. #1
    thp
    thp is offline Junior Member
    Join Date
    Jun 2009
    Posts
    4

    Default ZF + Dwoo teplate engine

    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.

  2. #2
    Eugen is offline Senior Member
    Join Date
    Sep 2008
    Location
    Croatia
    Posts
    400

    Default

    1.8 is newest version of framework and it will take some time for 3th party code will be available (along with tutorials).

    But you can always break the ice and publish your implementation

  3. #3
    thp
    thp is offline Junior Member
    Join Date
    Jun 2009
    Posts
    4

    Default

    I'll give it a go this weekend - but it won't be graceful, ha ha

  4. #4
    mdx
    mdx is offline Junior Member
    Join Date
    Jul 2009
    Posts
    1

    Default

    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.
    Attached Images

+ Reply to Thread

Similar Threads

  1. Output buffering using the MVC-engine
    By Nastareger in forum Model-View-Controller (MVC)
    Replies: 7
    Last Post: 06-24-2010, 09:11 PM
  2. Rewrite engine only working for index controller
    By orlox in forum Model-View-Controller (MVC)
    Replies: 0
    Last Post: 06-21-2009, 10:25 PM
  3. Zend template engine help
    By aneevs in forum General Q&A on Zend Framework
    Replies: 3
    Last Post: 06-18-2008, 06:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts