public function __construct()
 {
     $this->name = 'now_parent';
     $this->tab = 'administration';
     $this->version = 1.0;
     $this->author = 'NinjaOfWeb';
     $this->need_instance = 0;
     parent::__construct();
     $this->displayName = $this->l('Page Parent of NinjaOfWeb modules');
     $this->description = $this->l('Page wich list all pages of NinjaOfWeb modules.');
     if ($this->active) {
         $this->module_dir = _PS_MODULE_DIR_ . $this->name . DIRECTORY_SEPARATOR;
         $this->module_uri = DIRECTORY_SEPARATOR . 'modules' . DIRECTORY_SEPARATOR . $this->name . DIRECTORY_SEPARATOR;
     }
 }
 /**
  * @return bool
  */
 public function install()
 {
     $this->aConfigurationDefaultSettings = array('NOW_CUST_REFERENCE_ENABLE' => true, 'NOW_CUST_REFERENCE_CMS_ID' => 8);
     return parent::install() && $this->registerHook('rightColumn') && $this->registerHook('header');
 }
 /**
  * @return bool
  */
 public function install()
 {
     $this->aConfigurationDefaultSettings = array('NOW_DT_DATE_FORMAT' => 'd/m/Y', 'NOW_DT_HOUR_START_PREP' => 8, 'NOW_DT_HOUR_END_PREP' => 12, 'NOW_DT_HOUR_BEFORE_END_PREP' => 2);
     return parent::install() && $this->registerHook('actionCarrierUpdate') && $this->registerHook('header') && $this->registerHook('displayCarrierDeliveryTimeList');
 }
 public function install()
 {
     $this->aConfigurationDefaultSettings = array('NOW_IMPORT_ACCES_FILE' => '.csv', 'NOW_IMPORT_ACCES_SEPARATOR' => ';', 'NOW_IMPORT_ACCES_DELIMITER' => 2, 'NOW_IMPORT_ACCES_DECIMAL' => '.', 'NOW_IMPORT_ACCES_CONVERT_UTF8' => 1, 'NOW_IMPORT_ACCES_PAGINATION' => 50);
     return parent::install();
 }
 /**
  * @return bool
  */
 public function install()
 {
     $this->aConfigurationDefaultSettings = array('NOW_ACCR_HEADER_ENABLE' => true, 'NOW_PHONE_INTERNATIONAL' => '+33 234 321 179');
     return parent::install() && $this->registerHook('top') && $this->registerHook('header');
 }
 /**
  * @return bool
  */
 public function install()
 {
     $this->aConfigurationDefaultSettings = array('NOW_MEA_HOME_ENABLE' => true, 'NOW_MEA_HOME_NB_PRODUCT' => 5);
     return parent::install() && $this->registerHook('home') && $this->registerHook('header');
 }
 /**
  * @return bool
  */
 public function install()
 {
     $this->aConfigurationDefaultSettings = array('NOW_IMPORT_PRO_TYPE_FILE' => '.csv', 'NOW_IMPORT_PRO_TYPE_SEPARATOR' => ';', 'NOW_IMPORT_PRO_TYPE_DELIMITER' => 2, 'NOW_IMPORT_PRO_TYPE_DECIMAL' => '.', 'NOW_IMPORT_PRO_TYPE_CONVERT_UTF8' => 1, 'NOW_IMPORT_PRO_TYPE_PAGINATION' => 50);
     return parent::install() && $this->registerHook('actionProductUpdate') && $this->registerHook('actionProductAdd') && $this->registerHook('actionProductDelete') && $this->registerHook('displayBackOfficeHeader') && $this->registerHook('displayProductButtons') && $this->registerHook('displayProductTab') && $this->registerHook('displayProductTabContent');
 }
 /**
  * @return bool
  */
 public function install()
 {
     $this->aConfigurationDefaultSettings = array('NOW_FOOTER_ENABLE' => true, 'NOW_MAX_LINE_BY_COLUMN' => 5);
     return parent::install() && $this->registerHook('footer') && $this->registerHook('header');
 }
 /**
  * @return bool
  */
 public function install()
 {
     $this->aConfigurationDefaultSettings = array('NOW_SLIDESHOW_ENABLE' => true);
     return parent::install() && $this->registerHook('home') && $this->registerHook('header');
 }
 /**
  * @return bool
  */
 public function install()
 {
     $this->aConfigurationDefaultSettings = array('NOW_REINSURANCE_ENABLE' => true);
     return parent::install() && $this->registerHook('rightColumn') && $this->registerHook('header');
 }
 public function install()
 {
     return parent::install() && $this->registerHook('moduleRoutes') && $this->registerHook('actionObjectLanguageAddAfter');
 }
 /**
  * @return bool
  */
 public function install()
 {
     $this->aConfigurationDefaultSettings = array('NOW_PRESENTATION_ENABLE' => true, 'NOW_PRESENTATION_CMS_ID' => 4);
     return parent::install() && $this->registerHook('rightColumn') && $this->registerHook('header');
 }
 public function install()
 {
     $this->aConfigurationDefaultSettings = array('NOW_ORDER_RETURN_ACTIVE' => true, 'NOW_ORDER_RETURN_EMAIL' => Configuration::get('PS_SHOP_EMAIL'));
     return parent::install() && $this->registerHook('orderReturn');
 }
 /**
  * @return bool
  */
 public function install()
 {
     return parent::install() && $this->updatePositionOfFeaturesValues() && $this->registerHook('footer');
 }