marwen_schumy Posted March 7, 2014 Share Posted March 7, 2014 Hello guys,I'm creating a pop up news letter subscription module that will have the option ( in the configuration page) to disable the the default "blocknewsletter" module of prestashop... Any idea how can i do that? Link to comment Share on other sites More sharing options...
vekia Posted March 7, 2014 Share Posted March 7, 2014 try with this: $mod=Module::getInstanceByName('blocknewsletter'); $mod->uninstall(); or just Module::getInstanceByName('blocknewsletter')->uninstall(); 1 Link to comment Share on other sites More sharing options...
marwen_schumy Posted March 7, 2014 Author Share Posted March 7, 2014 try with this: $mod=Module::getInstanceByName('blocknewsletter'); $mod->uninstall(); or just Module::getInstanceByName('blocknewsletter')->uninstall(); Thank you Link to comment Share on other sites More sharing options...
Recommended Posts