Score:0

Shared sites/all/libraries/ directory is not recognized by contrib modules

de flag

I'm trying to put the colorbox javascript library to the shared sites/all/libraries directory but it is not recognized by the colorbox module. The same seems to go for the jquery.cycle library. I just copied the libraries directory from sites/nias.cz/libraries` to the shared one. The final example path is

sites/all/libraries/colorbox/jquery.colorbox.js
leymannx avatar
ne flag
The location needs to be just libraries/ at the same level where sites/, core/ etc. reside, the webroot.
Score:1
in flag

Libraries have changed since Drupal 7. Libraries are no longer stored in sites/all/libraries. Drupal 8+ uses Composer and stores third-party libraries in libraries.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.