* @copyright 2010-2018 Webkul IN * @license https://store.webkul.com/license.html */ if (!defined('_PS_VERSION_')) { exit; } class WkFooterAboutBlock extends Module { public function __construct() { $this->name = 'wkfooteraboutblock'; $this->tab = 'front_office_features'; $this->version = '1.0.4'; $this->author = 'Webkul'; $this->need_instance = 0; $this->bootstrap = true; parent::__construct(); $this->displayName = $this->l('Footer About Hotel Block'); $this->description = $this->l('Show About Hotel block in footer.'); $this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_); } public function hookDisplayFooterMostLeftBlock($params) { $this->context->smarty->assign( array('WK_HTL_SHORT_DESC' => Configuration::get('WK_HTL_SHORT_DESC', $this->context->language->id)) ); $this->context->controller->addCSS($this->_path.'/views/css/wkFooterAboutBlockFront.css'); return $this->display(__FILE__, 'wkFooterAboutBlock.tpl'); } public function install() { if (!parent::install() || !$this->registerHook('displayFooterMostLeftBlock') ) { return false; } return true; } }