Question

I am unable to install modules in Drupal 7. I'm working on localhost so I don't have FTP, but it seems that they made it impossible to install them otherwise.

In Drupal 6 I would of just paste a module, refresh and there it was. Here I have to specify the FTP.

Was it helpful?

Solution

If you have a single site setup:

Contrib modules go in /sites/all/modules/contrib/

Custom modules go in /sites/all/modules/custom/

Custom themes go in /sites/all/themes/

If you have a multi site setup:

contrib modules go in /sites/site_name/modules/contrib/

custom modules go in /sites/site_name/modules/custom/

custom themes go in /sites/site_name/themes/

I think some of the language in this post is dangerous, remember, do NOT put modules in the root modules directory, that is DRUPAL CORE. Everything you code and download should go in the directories I've mentioned above.

OTHER TIPS

About everything that you'd need to install a contributed module is explained in the following drupal.org article: Installing contributed modules (Drupal 7)

You should be able to just copy/paste the module's folder into your Drupal 7 module folder. Make sure to check the file permissions on your system.

  1. Download the required module from Drupal
  2. Unzip / Extract it and place it in /sites/all/modules/
  3. Access Modules from Administrator end
  4. Search for the new module and enable it.
  5. You are done :)
Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top