Drupal is a registered trademark of Dries Buytaert

custom_library

2 sites No security coverage
View on drupal.org

ORGANISING MODULES IN THIS DIRECTORY

Stop altering you library.yml files on every library added, using this module, you able to add or delete the external libraries.

You may add Some external libraries like css/js to your site.

You can access the configuration form Link called "Custom Library Settings" under Structure menu

OR

Directly access the form link by "/admin/custom-library/configuration"

CONFIGURATION

Please select the asset type as "Custom" to add external links for our site.

You can add the links with comma of any css or js from external site

example format for css: https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css, https://cdn.datatables.net/2.3.2/css/dataTables.dataTables.min.css

example format for js: https://cdnjs.cloudflare.com/ajax/libs/gsap/3.2.6/gsap.min.js, https://cdn.datatables.net/2.3.2/js/dataTables.min.js

make sure if enable the checkbox called "Enable Custom Library", then only the changes will affected.

once the links were added, save this configuration

If you want some advanced options like add weight for JS and CSS libraries, then access the advanced settings page for CSS or JS.

In the Advanced settings page you can add weight for CSS and JS libraries. You can add more libraries using advanced settings.

Additionally we had add the option for enable the css and js libraries for single page.

Add the path alias, asset url and weight for the library.

MORE INFORMATION

This module didn't fetched the previous libraries.

Advanced JS settings, only the negative values were accepted.

Use only the path alias for assets per page settings, don't use internal path like '/node/{id}' or '/term/{id}'.

Once you save the configuration Please make sure you have cleared all the caches.

Activity

Total releases
5
First release
Jun 2025
Latest release
8 months ago
Release cadence
0 days
Stability
80% stable

Release Timeline

Releases

Version Type Release date
2.0.2 Stable Jun 24, 2025
2.0.1 Stable Jun 23, 2025
1.0.0 Stable Jun 23, 2025
2.0.0 Stable Jun 23, 2025
2.0.x-dev Dev Jun 23, 2025