SPECIAL OFFER: Only $69 for access to everything in OSTraining for 1 year! You save $75!  1
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

module path

4 years 9 months ago #120094 by Juc2
module path was created by Juc2
Hi all,

I usually put my modules in /sites/all/modules but will subdirectories also work such as /sites/all/modules/example ?

Thanks...

Please Log in to join the conversation.

4 years 9 months ago #120103 by Valentin
Replied by Valentin on topic module path
Hi Juc2,

By subdirectories, do you mean your site is located as: yoursite.com/subdirectory/ ?

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

4 years 9 months ago - 4 years 9 months ago #120176 by Juc2
Replied by Juc2 on topic module path

Valentin wrote: Hi Juc2,

By subdirectories, do you mean your site is located as: yoursite.com/subdirectory/ ?

Kind regards,
Valentín

@ Valentin no I mean a subdirectory to group modules such as mysite.com/sites/all/modules/example-subdirectory-here

Please Log in to join the conversation.

4 years 9 months ago #120192 by steve
Replied by steve on topic module path
Hi Juc2

Yes, Drupal will be able to pick up modules located in sub-folders like that.

It's fairly normal for people to do that, in fact. Lots of developers use /custom/ and /contrib/ folders.

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!