Hello! Currently I am working on a test site for CERN use. I had installed an external module “Superfish” but the module does not work properly because of some missing libraries: please see the attached error information.
I am unable to install the libraries from https://www.drupal.org/project/superfish which I believe should be done by someone with rights to Drupal 8.0 infrastructure at CERN. Please let me know how I can get these libraries installed so that the Superfish module works ok for my site. Thank you.
Thank you for your reply. I ran into a bit more fundamental problem when I tried to use Ludwig. I do not know how I can create/place a file in https://.web.cern.ch/_webdav. I can see files, even copy/save to my local drive, but could not add a file.
I mounted the file system and was able to create the file 'ludwig.json' (screenshot attached) with appropriate syntax. As expected, in Reports>>Packages I could see the folder location/path where I can copy missing library files to (screenshot attached). So I created the folder structure and placed my extracted library files. After clearing the cache (Configuration>>Performance(under Development)>>Clear all caches), I still see no libraries installed with the same error in the status reports and packages. I tried several times checking the syntax and redoing everything, but nothing changed.
Could you point me where the problem could be? Thank you!
Based on my understanding, I have copied the 'bartik' theme folder from Drupal package to the 'themes' folder of my website, which otherwise was empty. Then I copied the 'superfish.js' file to themes>>batrik folder. If I understand correctly, the loading of 'superfish.js' should be specified in the bartik.libraries.yml file and simply having the .js file in the folder is not enough. However, it appears that I need to specify at a particular location and with an appropriate syntax, before saving and clearing the caches.
I hope you could comment on where I can add the line in bartik.libraries.yml file to load the .js file. When I open this file, I see the attached format. Could you give me a syntax of the new line to be added?
Add it under the theme part. Be careful with the indentation in yml files.
You might need to load all the js files from the superfish folder and also the css.
Hello, surprisingly it works. However, the error message still appears in the status report. I suppose that this error is for the missing Superfish library in the CERN Drupal infrastructure, which is bypassed now. Thanks a lot again!