Can I manualy add modules in Drupal 7 just by pasting them in the modules folder?

drupal.stackexchange https://drupal.stackexchange.com/questions/10801

  •  16-10-2019
  •  | 
  •  

문제

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.

도움이 되었습니까?

해결책

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.

다른 팁

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 :)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 drupal.stackexchange
scroll top