wallpaper_01 wrote:y.sulistya wrote:Post a module link in the lesson catalog (http://forum.efrontlearning.net/viewtopic.php?f=11&t=3093&p=15960#p15960) works well, thank you.
How do I find this feature?
public function getCatalogModule() {
return true;
}
public function getCatalogSmartyTpl(){
$smarty = $this -> getSmartyVar();
$smarty -> assign("T_MODULE_BASEDIR" , $this -> moduleBaseDir);
$smarty -> assign("T_MODULE_BASEURL" , $this -> moduleBaseUrl);
$smarty -> assign("T_MODULE_BASELINK", $this -> moduleBaseLink);
return $this -> moduleBaseDir."module.tpl";
}
public function getToolsLinkInfo() {
return array('title' => _YOUR_MODULE_NAME,
'image' => $this -> moduleBaseDir.'images/icon.png',
'link' => $this -> moduleBaseUrl);
}
public function getContentToolsLink() {
return $this -> moduleBaseDir."module.tpl";
}
Return to News and Announcements
Users browsing this forum: No registered users and 1 guest