0

From Chosen module page:

This module comes with a Drush make file, which will automatically download the jQuery plugin if you use Drush make to set up your website.

I have Drush Make, but commands like..

 drush dl chosen
 drush en chosen

..don't help.
Should I use drush make ... command instead? Maybe there are other commands for quick libraries download.

P.S. I'm working on already installed copy of Drupal.

2 Answers 2

3

for the latest version of chosen I usually do the following

drush dl chosen

drush chosenplugin

drush en chosen -y

You not only need to download the drupal module (drush dl chosen) but also the chosen jQuery library (drush chosenplugin) in order for the module to work.

1
  • 1
    Thanks @Jen for your answer! Good to know. For projects with Drush Make files (usually modulename.make.example) but without custom Drush commands (like chosenplugin or colorbox-plugin) it is still possible to download external libraries and other dependencies with trick in my answer.
    – kalabro
    Apr 29, 2014 at 18:26
3

I found a way:

# cd to Drupal root folder
drush dl chosen
drush make sites/all/modules/chosen/chosen.make.example --no-core
drush en chosen -y

Update 04/29/2014: Chosen now provides Drush command chosenplugin.

This answer is still useful for other projects with *.make.example files but without custom Drush installation commands.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.