This project is not covered by Drupal’s security advisory policy.
Make Acquia Content Hub easier to use
ACH Attach JS is a module that helps to better integrate a Drupal site with Acquia Lift and Acquia Content Hub.
When Acquia Lift adds content to the page (asynchronously) from Acquia Content Hub, your js does not automatically run on the new markup. That's a problem if the new content has tabs or a drawer or a save flag or any other feature that requires javascript. This module solves that problem.
The Library
ACH Attach JS provides a library that calls Drupal.attachBehaviors on content
that is added to the page from Acquia Content Hub.
Attaching the Library
There is a sub-module called ACH Attach JS Attacher that provides a
configuration form for attaching that library at the paths of your choice,
just like you can configure at what paths a Block should display.
Alternatively, you could attach the library "manually" in your theme's .info
file, in a preprocess function, in a twig template, etc.
Project information
- Seeking new maintainer
The current maintainers are looking for new people to take ownership. - Maintenance fixes only
Considered feature-complete by its maintainers. - Module categories: Import and Export
- Ecosystem: Acquia, Acquia Content Hub, Acquia Lift Connector
- Created by danflanagan8 on , updated
- Drupal 10 is here!
D10 compatible! #3296266: ach_attach_js D10 compatibility
It's less clear if this is still compatible with Acquia Lift :)
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
Development version: 8.x-1.x-dev updated 15 Jul 2022 at 19:42 UTC