BluTiGeS Posted December 13, 2016 Share Posted December 13, 2016 Hello, I started to test my modules with 1.7. I have a module which hooks to hookDisplayTop: public function install() { return parent::install() && $this->registerHook('header') && $this->registerHook('backOfficeHeader') && $this->registerHook('displayTop'); } public function hookDisplayTop( $params ) { .. ..... return $this->display( __FILE__, 'views/templates/front/hookDisplayTop.tpl' ); } But the tpl file is not added also no JS, does anynone know why this hook does not work as before? Is there a detailed change list or migration guide? Horrible 1.7 Link to comment Share on other sites More sharing options...
BluTiGeS Posted December 17, 2016 Author Share Posted December 17, 2016 Hi, many thansk for the response. javascript is now added but the $this->registerHook('displayTop') and the regarding fucntion public function hookDisplayTop( $params ) are not executed. Any hint why it does not execute? is the function renamed? Link to comment Share on other sites More sharing options...
BluTiGeS Posted December 19, 2016 Author Share Posted December 19, 2016 A reset of the module solved the issue, for this one. Thanks 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