Thursday 26 August 2010 3:39:43 am
Hi all, I'm trying to do a simple extension. The extension contains a module, which fetches a template to put it into the module result's 'content' property. The fetch looks like this:
$tpl=eZTemplate::instance();
$Result ['content'] = $tpl->fetch ('design:jacextension/plan.tpl'); The template resides in the directory /extension/jacextension/design/jacextension/templates/plan/plan.tpl The extension is set as a design extension:
<?php /* #?ini charset="utf-8"? # transmit to eZ, to search for designs in jacextension [ExtensionSettings] DesignExtensions[]=jacextension */ ?><?php /* #?ini charset="utf-8"? # transmit to eZ, to search for designs in jacextension [ExtensionSettings] DesignExtensions[]=jacextension */ ?> I clear all cache too, but the debug output is always the same. The debug output is: No template could be loaded for "jacextension/plan.tpl" using resource "design"
Has anyone an additional idea where the error might be or how to debug/resolve it?
Kind regards, Daniel Perdomo
|