rayrayrugby Posted October 21, 2014 Share Posted October 21, 2014 (edited) Bonjour, J'aimerais savoir pourquoi lorsque j' exécute le hook "backofficefooter" lors de la validation d'une commande via le hook "actionValidateOrder" cela ne fonctionne t'il pas ... voici mon code : public function hookactionValidateOrder($params) { Hook::exec('displayBackOfficeFooter', array()); } public function hookdisplayBackOfficeFooter($params) { return $this->display(__FILE__, 'test.tpl'); } L’exécution du hook "backofficefooter" est censée m'afficher un alert() (js) placé dans test.tpl . Merci ! Edited October 21, 2014 by rayrayrugby (see edit history) 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