Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As a co-maintainer of Nice messages, which uses also the jGrowl jQuery Plugin for displaying drupal system messages I would like to ask the maintainers of pmgrowl to change the path of jGrowl from inside the module folder to the libraries folder under sites/all/libraries
and to point users to download and install jGrowl to the new proper location. So the jGrowl plugin will be loaded only once inside of one drupal installation and multiple moduls using jGrowl.
I put it already on the to-do list of the Nice messages module project.
Comments
Comment #1
Macronomicus CreditAttribution: Macronomicus commentedThis seems like a logical change... could you upload a patch against 7.x-1.x-dev ?
Comment #2
polskikrol CreditAttribution: polskikrol commentedPresume a patch was never submitted for this.
Comment #3
emcniece CreditAttribution: emcniece commentedPLEASE! Multiple inclusion is unnecessary. Can anyone confirm what happens during the Drupal module upgrade process - are module folders removed and re-downloaded, or are existing files just overwritten? It would be unfortunate to have to re-install jgrowl within a module on every upgrade.
Comment #4
polskikrol CreditAttribution: polskikrol commentedRan into this issue recently. Upgraded the module but the library was removed during the upgrade. The drupal upgrade refused to progress, resulting in an outage, until either (a) the library was downloaded or (b) module manually disabled via database modification.