/** * register the module's tpl dir to loader path */ public function initTpl() { if ($this->_pathinfo->hasRootTpl()) { IfwPsn_Wp_Tpl::getFilesytemInstance($this->_pm)->getLoader()->addPath($this->_pathinfo->getRootTpl()); } }