Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Onpage External Libraries

Security covered Under active development 2 sites

This module allows you to include external JavaScript and CSS files on specific pages of your website. This is useful for loading assets like icon libraries on a particular page without needing to add them to your theme's library definitions.

The Onpage External Libraries module lets you add external JS/CSS to any page.

An example use case would be including an icon css library to load on a specific page without having to push the library through a theme libraries.yml.

INSTALLATION

CONFIGURATION

  1. Navigate to Adminstration > Extend and enable to module.
  2. Navigate to Adminstration > structure > On Page External Library to add your external libraries entity.
  3. Set/add the following in the provided fields:
    • Set/Add a name for what you are adding
    • URL of where the js/css can be located
    • Type, either CSS or JS
    • Path on which node/page the library should be loaded
    • Click 'Save'

Current maintainers

Drupal 10–11

Ask your assistant about Onpage External Libraries

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
May 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
2.1.1 Stable 10–11 Dec 15, 2024
2.0.2 Stable 8–10 Dec 30, 2023
2.0.1 Stable 8–10 May 19, 2023
2.0.x-dev Dev 10–11 May 19, 2023