Created on 30 September 2022, almost 2 years ago
Updated 17 September 2023, 10 months ago

Problem/Motivation

I need to know the folder name to install the library.

The help page said this:

Upload the library
First you need to check if there is a libraries directory in one of three suitable spots. These are:

libraries directory (mandatory for Drupal 8) or
sites/all/libraries directory or
profiles/[yourprofilename]/libraries or
sites/example.com/libraries if you have a multi-site installation

If not, create one. Then inside that directory create a new directory with the Drupal machine name of the library. The machine name should be provided by the module that requires it, sometimes implicitly as in ""Install the foo library!"" (in that case the machine name would be foo). Upload the library files into the directory you have just created. If the library consists of a directory, which you have just extracted, upload the entire directory into the sites/all/libraries/machine_name directory.

But the module does not give this information.

I want to install this: Marghoob Suleman Dropdown

I have tryed the foldernames:
Marghoob Suleman Dropdown
Marghoob Suleman
Marghoob
ms-Dropdown-master
msdropdown

Inside the selfmade folder library.

💬 Support request
Status

Fixed

Version

2.1

Component

User interface

Created by

🇳🇱Netherlands Coolen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India Prashant.c Dharamshala

    To add the necessary libraries, place them in the root "libraries" folder. If the folder doesn't exist, please create it. The library name for the Marghoob Suleman Dropdown should be "ms-Dropdown", as specified in the module's help text.

  • 🇺🇦Ukraine alex.mazaltov

    I have successfully installed the Marghoob Suleman Dropdownusing composer require and it stored in library folder as ms-Dropdown But module lang_dropdown can't find it.
    How i did the composer adjustment:

    1. I added external repository to composer.json file
    2. And i specified installer name to be renamed after installation
    3. Here is the chunk of code
    {
              "type": "package",
              "package": {
                  "name": "marghoobsuleman/ms-dropdown",
                  "version": "v4.0.3",
                  "type": "drupal-library",
                  "dist": {
                      "url": "https://github.com/marghoobsuleman/ms-Dropdown/archive/refs/tags/v4.0.3.zip",
                      "type": "zip"
                  },
                  "source": {
                      "url": "https://github.com/marghoobsuleman/ms-Dropdown",
                      "type": "git",
                      "reference": "v4.0.3"
                  },
                  "extra": {
                      "installer-name": "ms-Dropdown"
                  }
              }
          }

    Please help with this issue.

  • Status changed to Fixed 10 months ago
  • 🇺🇦Ukraine alex.mazaltov

    Succesfully solved with version of library 3.5.2

          {
              "type": "package",
              "package": {
                  "name": "waza-ari/msdropdown",
                  "version": "v3.5.2",
                  "type": "drupal-library",
                  "dist": {
                      "url": "https://github.com/waza-ari/msdropdown/archive/refs/tags/v3.5.2.zip",
                      "type": "zip"
                  },
                  "source": {
                      "url": "https://github.com/waza-ari/msdropdown",
                      "type": "git",
                      "reference": "v3.5.2"
                  },
                  "extra": {
                      "installer-name": "ms-dropdown"
                  }
              }
          }

    And add with composer: composer require waza-ari/msdropdown

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024