name = 'blocklogo'; $this->tab = 'front_office_features'; $this->version = 0.1; $this->author = 'Antadis'; $this->need_instance = 0; parent::__construct(); $this->displayName = $this->l('Block logo'); $this->description = $this->l('Adds a block to display your logo.'); } public function install() { if (!parent::install()) return false; if(!$this->registerHook('top')) return false; return true; } function hookTop($params) { return $this->display(__FILE__, 'blocklogo.tpl'); } }