Michael247 Posted November 10, 2015 Share Posted November 10, 2015 (edited) Hi Can somebody tell me how i do include a javascript file before the </body> tag? I know I can insert manually into footer.tpl. But how does that work in a module? I have tried to add to footer hook, but it is still displayed in the head section. public function hookDisplayFooter() { $this->context->controller->addJs($this->_path . 'js/jquery.dgmobnav.js'); } Prestashop 1.6.x Edited November 10, 2015 by Michael247 (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