开发者

Can drupal be configured to find modules in another location

开发者 https://www.devze.com 2023-03-11 10:02 出处:网络
I put my modules in sites/all/modules. Is there a way to configure Drupal to find more modules in other location as well

I put my modules in sites/all/modules. Is there a way to configure Drupal to find more modules in other location as well

Edit: Please also check the answers here, on the Drupal StackExchange site:

https://drupal.stack开发者_开发知识库exchange.com/questions/4618/


Not sure what you mean, but we use a somewhat common convention of seperatating in-house modules from 3rd party modules.

'Home-made' custom modules would be in:

sites/all/modules/custom

3rd party modules would be in:

sites/all/modules/vendor

If having subdirectories does not match your needs, I believe you could easily symlink your /obscure/path/to/module directory into your drupal's module directory.


You can put modules in an install profile.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号