name = 'lostpassword'; $this->tab = 'front_office_features'; $this->version = '1'; $this->author = 'Antadis'; $this->need_instance = 0; $this->bootstrap = true; parent::__construct(); $this->displayName = $this->l('Lost Password'); $this->description = $this->l('Lost Password allows to reset password'); $this->confirmUninstall = $this->l('Are you sure you want to delete Lost Password?'); } /***********************/ /******* Install *******/ /***********************/ /** * @return boolean */ public function install() { if ( !parent::install() || !$this->registerHook('displayFooter') ){ return false; } return true; } /** * @return boolean */ public function uninstall() { if( !parent::uninstall() ){ return false; } return true; } /************************/ /********* HOOK *********/ /************************/ /** * @param type $params */ public function hookDisplayFooter($params){ return $this->display(__FILE__, 'reset_password.tpl'); } }