Monday 08 December 2003 6:58:39 am
I guess I need help
include_once( "kernel/common/template.php" );
$tpl =& eZTemplate::instance();
$tpl->setVariable( 'order', $order );
$templateResult =& $tpl->fetch( 'extension/myextension/design/standard/templates/workflow/eventtype/result/orderemail.tpl' );
I am using this code inside a workflow extension... Unfortunatelly it only loads the tpl like this. I would like to load the tpl over a design resource. But when I use design:workflow/eventtype/result/orderemail.tpl eZ can't find my template. What did I do wrong. (myextention is set as a design extension)
Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/
|