Przemysław Suszek Posted February 8, 2018 Share Posted February 8, 2018 Hi, I wonder, how can I add a script into a head element without using a file. Of course add from hook for example "Header" $this->context->controller->addJS($this->_path . 'views/js/file.js'); I want to add a script which will be included a php, smarty variable. Thanks for help. 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