Tuesday 08 August 2006 4:10:00 am
Is there any way to find out what paths are being searched for templates, I am using the following code in an extension:
$requestUri = eZSys::requestUri();
$process->Template = array( 'templateName' => 'design:' . 'ccvalidate' . '.tpl',
'templateVars' => array( 'request_uri' => $requestUri )
);
But I get 'No template could be loaded for "ccvalidate.tpl" using resource "design"' in the debug output.
I have put the template in the extension path:
extensions/ccvalidate/design/ccvalidate.tpl
and in the site override: design/site_name/override/templates/pagelayout.tpl
|