Kennedy5020 Posted July 25, 2013 Share Posted July 25, 2013 Hi, I am using prestashop version 1.5.4.1. And I using dailydeal module in my prestashop.Daily deal module open popup in homepage as default. I have remove left and rightcolumn in my home page.I have used my customized homepage. Due to that popup not appear.How to show again daily deal popup in home page or how to change the hook ? Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted July 25, 2013 Share Posted July 25, 2013 paste dailydeal modules php code here and tell were u want to appear Link to comment Share on other sites More sharing options...
vekia Posted July 25, 2013 Share Posted July 25, 2013 you can try to transplant module to the footer hook, and of course paste the code of the module then we will check it and eventually give you a tip how to change Link to comment Share on other sites More sharing options...
Kennedy5020 Posted July 25, 2013 Author Share Posted July 25, 2013 (edited) you can try to transplant module to the footer hook, and of course paste the code of the module then we will check it and eventually give you a tip how to change module have many files. i have paste my install function here public function install() { if (!parent::install()) return false; if(!$this->registerHook('leftColumn') OR !$this->registerHook('rightColumn') OR !$this->registerHook('extraRight') OR !$this->registerHook('productfooter') OR !$this->registerHook('newOrder') OR !$this->registerHook('Cart') OR !$this->registerHook('home') OR !$this->registerHook('header') ) return false; $this->installRewriteURL(); /* Configuration for module */ Configuration::updateValue('PL_DEAL_VIEWDEALS_HOOK',2); //default hook right Configuration::updateValue('PL_DEAL_TODAY_HOOK',2); //default hook right Configuration::updateValue('PL_DEAL_FEATURED_POPUP_HOOK',1); //default show popup Configuration::updateValue('PL_DEAL_HOME_POPUP_DISPLAY_HOOK',1); //default One Time Configuration::updateValue('PL_DEAL_HOME_POPUP_DESC_HOOK',1); //default: Deal description Configuration::updateValue('PL_DEAL_HOME_TAB_HOOK',0); //default: None Configuration::updateValue('PS_DEAL_HOME_TAB_DISPLAY',1); //default: list Configuration::updateValue('PL_DEAL_FEATURED_HOME_HOOK',1); //default hook home Configuration::updateValue('PL_DEAL_REQUIRE_LOGIN',0); //default yes require login Configuration::updateValue('PL_DEAL_FACEBOOK',1); //default yes Configuration::updateValue('PS_DEAL_FEATURED_HOME_DISPLAY',1); //default list (theo hàng) Configuration::updateValue('PL_DEAL_PRE_PAGE_ARRAY',"4,8,12,16"); Configuration::updateValue('PL_DEAL_PRE_PAGE',4); Configuration::updateValue('PS_DEAL_PAGE_LIMIT',5); return true; } Edited July 25, 2013 by karthick (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 25, 2013 Share Posted July 25, 2013 your popup disappear probably because popup script was in one from the columns. It's hard to say in which one coz we haven't got this module. try to use additional hook in the installation function !$this->registerHook('footer') then somewhere add this function: function hookfooter($params){ return $this->hookrightColumn($params); } ps you can also show contents of the function hookrightColumn Link to comment Share on other sites More sharing options...
Recommended Posts