defuzed Posted November 18, 2013 Share Posted November 18, 2013 (edited) Hi guys, I created a few modules that i use on different areas around the shop and was wondering if it is possible to only load the module's assets (css and js files) if the module's template files are also hooked? I guess creating a custom hook in footer and header would work, but maybe there is a simpler solution? Edited November 18, 2013 by defuzed (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 18, 2013 Share Posted November 18, 2013 hello you can define exceotions - pages where you don't want to display modules. go to modules > positions, click on edit button near your module (on displayHeader modules list) and define exceptions: Link to comment Share on other sites More sharing options...
defuzed Posted November 18, 2013 Author Share Posted November 18, 2013 Ahhhh super, thanks vekia again, i knew something like this had to exist. 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