context->smarty->assign('test', 'to tylko test '. $mess); $this->setTemplate('module:santandercredit/views/templates/front/test.tpl'); } public function postProcess() { // global $smarty; // $templatePath = dirname(__FILE__).'/../../views/templates/front/test.tpl'; // $smarty->assign(array( // 'test' => 'to tylko test' // )); // $smarty->display($templatePath); } }