user3814670
user3814670

Reputation: 61

How to enable Module uploaded in different directory Drupal 7

I upload my .info and .module file in sites/all/new/mymodule/ how can I enable this file on the admin page is it possible to enable it even though it's not uploaded in sites/all/modules/mymodule/ ? Im new in drupal thanks in advance !

Upvotes: 0

Views: 38

Answers (1)

Djouuuuh
Djouuuuh

Reputation: 1167

You just can't do that. According to Drupal official documentation:

Download the module and extract it in the folder sites/all/modules/contrib. It is recommended to place all third-party modules in a subfolder called contrib.

All modules should be in the sites/all/modules/ directory. (Exception for multisite installation.) It they're not, Drupal won't recognize it and you won't be able to enable it through the admin interface.

Please, take a look at this page.

Upvotes: 2

Related Questions