It works:
public function hookDisplayLeftColumn($params)
{
global $smarty;
$smarty->assign('message', 'hello');
return $smarty->display(dirname(__FILE__).'/views/mymodule.tpl');
}
But, is it the best way?
It works:
public function hookDisplayLeftColumn($params)
{
global $smarty;
$smarty->assign('message', 'hello');
return $smarty->display(dirname(__FILE__).'/views/mymodule.tpl');
}
But, is it the best way?
It works:
public function hookDisplayLeftColumn($params)
{
global $smarty;
$smarty->assign('message', 'hello');
return $smarty->display(dirname(__FILE__).'/views/mymodule.tpl');
}
But, it is the best way?