I just thought a little bit more about the "problem".
In a module file e.g. dashboard/dashboard.php
$app->tpl->newTemplate("templates/dashboard.htm");
loads the template-file from dashboard/templates/dashboard.htm
public function newTemplate($tmplfile)
"just" needs to add "(ISPC_WEB_PATH.)../themes/.$_SESSION['s']['theme']./" to the $tmplfile-var.
-> themes/*theme-name*/templates/dashboard.htm
In this case templates must be moved to the theme-folder but no modifications to modules are necessary.
|