JS Loader

Component ID

2688761

Component name

JS Loader

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module is developed for a Drupal developer that might just need to add a few scripts somewhere, and have them load for certain role / certain pages. This module aims to provide a quick and easy way to incorporate external or internal JS onto any page. This module relies on the Features module, as it is incorporating really 2 parts -> A module and a Featurized content type, so the idea is that, you can go to Add Content -> JS File, then specify either a relative path, or an external path. The preference to load on every page, or type in specific URLs, you can also type the role machine name, so 'administrator', or 'my_custom_role', etc.

Just to make it clear, you will need to turn on the "JS Loader Content Type" in Features to make new JS Files that will be loaded per the specifications you provide when enabled.