$this -> smarty = tx_rtpsmarty::newSmartyTemplate(); $this -> smarty -> assign('hello', 'Hello world' ); $content = $this -> smarty -> display(PATH_site . $this->conf['sometemplatepath']); return $this->pi_wrapInBaseClass($content);