leeloo Posted March 6, 2011 Share Posted March 6, 2011 I am developing a module for my specific needs.During installation, I want hook the module in Carriers tab and Customers tab.The module is hook in Customers tab if i put OR !$this->registerHook('adminCustomers') but not in carriers tab. public function install() { if(version_compare(_PS_VERSION_, '1.2.5.0', '>=')) { $this->installModuleTab('AdminZipCodeLocalDelivery', 2); } if (!parent::install() OR !$this->registerHook('adminCarriers') What is the value XXXX for carriers hook tab ? $this->registerHook('adminXXXX') Link to comment Share on other sites More sharing options...
leeloo Posted March 7, 2011 Author Share Posted March 7, 2011 Many thank's.It solved. public function install() { if(version_compare(_PS_VERSION_, '1.2.5.0', '>=')) { $this->installModuleTab('AdminZipCodeLocalDelivery', 5); } I put number 5 in $this->installModuleTab('AdminZipCodeLocalDelivery', 5);The link : http://www.prestashop.com/forums/viewthread/90183/ is perfect. 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