DARKF3D3 Posted April 30, 2021 Share Posted April 30, 2021 I'm using the follwing code (into theme.yml file) to load a custom javascript file on all the page of the website: js: all: - id: slick-slider-lib path: assets/js/slick.min.js priority: 31 The js file its loaded correctly on all pages of the site, with the exception of custom pages created by forms. For example I'm using a module that override default PS search result page, and on this page the js library it's not present. How can I add it to these pages too? Link to comment Share on other sites More sharing options...
8i11y Posted May 21, 2021 Share Posted May 21, 2021 Hi DARKF3D3, look in the module-folder if the module have a front.js file in your Modules Directory/views/js 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