jd440 Posted November 1, 2015 Share Posted November 1, 2015 Bonjour à tous. J'essaye de developper un module avec dans la procédure d'installe les exeption. Mais impossible à faire fonctionner Auriez vous une idée? public function install() { $id_hook_header = Hook::getIdByName('header'); $pagesException = array('address', 'addresses', 'attachment', 'auth', 'cart', 'changecurrency, cms', 'compare', 'contact', 'discount', 'getfile', 'guesttracking', 'history', 'identity', 'index', 'myaccount', 'order', 'orderconfirmation', 'orderdetail', 'orderfollow', 'orderopc', 'orderreturn', 'orderslip', 'pagenotfound', 'parentorder', 'password', 'pdfinvoice', 'pdforderreturn', 'pdforderslip', 'pricesdrop', 'search', 'sitemap', 'statistics', 'stores', 'supplier'); return parent :: install() && $this->registerHook('Header') && $this->registerExceptions($id_hook_header, $pagesException); } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now