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.
ive installed libraries module in d8 beta6. ive tried locating the folder in domain.com/sites/all/libraries and domain.com/ neither are working.
Report page warning: "Download highlight.js assets into /libraries/highlight". (looks like domain root??)
please can you advise on the correct location of libraries files for d8
thanks
laurence
Comments
Comment #1
Snehal Brahmbhatt CreditAttribution: Snehal Brahmbhatt at AddWeb Solution Pvt. Ltd. commentedYou can find folder structure for Drupal 8 here.
Hope this helps you.
Thanks,
Snehal Brahmbhatt | AddWeb Solution
https://www.drupal.org/user/3147795/track
Comment #2
rjacobs CreditAttribution: rjacobs commentedI hope the info in #1 helped. If something is still not clear please feel free to follow-up with more info.
Comment #4
zatarain21 CreditAttribution: zatarain21 commentedThe problem is that in drupal 7 we need to create the libraries directory in side of sites (all, default, ...)
In Drupal 8 we need to create libraries directory in the root folder (the first one).
That is a little wire but the reason is that this are external libraries that doesn't take advantage of the new configuration feature in Drupal 8
Regards
Comment #5
pkosenko CreditAttribution: pkosenko as a volunteer commentedI am not sure that this works at all. I am prepping a D8 site for migration. The responsive_menu module requires installation of the jquery mmenu library. When I install that library in "/libraries/mmenu/dist" as the libraries yml file specifies, I STILL get a "missing library" message in the status report (even after clearing caches). The "mmenu" library git repository has a "dist" folder that I loaded up into "libraries/mmenu". Creating a "libraries" folder in root and putting the JS library into it DID NOT WORK. This is on Pantheon.
I also tried uninstalling and reinstalling the responsive_menu module. That fixed nothing. D8 could still not find the mmenu library in the ROOT "libraries" directory.
I notice that two dependencies of mmenu are also missing. So I am going to try to install hammer.js and superfish.js. If THAT clears up the issue, then the following error message is the source of the confusion. (The module should not be listed as missing if what is REALLY missing is its DEPENDENCIES).
Responsive menu: mmenu library
Library not installed
The mmenu library must be installed at /libraries/mmenu and must be version 6.1.4 or greater. The download url is https://api.github.com/repos/FrDH/jQuery.mmenu/zipball
**************
Responsive menu: hammerjs library
Library not installed
The hammerjs library must be installed at /libraries/hammerjs and must be version 2.0.7 or greater. The download url is https://api.github.com/repos/hammerjs/hammer.js/zipball
Responsive menu: superfish library
Library not installed
The superfish library must be installed at /libraries/superfish and must be version 1.7.0 or greater. The download url is https://api.github.com/repos/joeldbirch/superfish/zipball
Comment #6
dkrockville CreditAttribution: dkrockville as a volunteer commentedI am still having this same problem with super fish lib 1.7.10