jxdyzwh Posted October 25, 2013 Share Posted October 25, 2013 IndexController.php,the $this->context->smarty->assign('HOOK_HOME', Hook::exec('displayHome')); $this->setTemplate(_PS_THEME_DIR_.'index.tpl');i wan to change displayHome Hook, whate can i doing Link to comment Share on other sites More sharing options...
jxdyzwh Posted October 25, 2013 Author Share Posted October 25, 2013 i wan to change displayHome Hook content Link to comment Share on other sites More sharing options...
vekia Posted October 25, 2013 Share Posted October 25, 2013 displayHome hook is a hook where the modules are attached. you can check modules attached to this hook under modules > positions tab in your back office (displayHome modules list) Link to comment Share on other sites More sharing options...
NemoPS Posted October 25, 2013 Share Posted October 25, 2013 In addition to what vekia said, to enable a module to be hooked there, add the function hookDisplayHome to it Link to comment Share on other sites More sharing options...
Recommended Posts