Hi

I uploaded some new modules to the www.mysite.com/modules directory and it works fine. However, many documents on this site reads upload the new modules to www.mysite.com/sites/all/modules directory. What is the different between uploading to these two folders? in fact the /sites/all folder is empty (only a readme file).

Thank you

Comments

vm’s picture

you create the folders manually at sites/all/modules and sites/all/themes
custom and contrib modules are kept separate from core modules and themes which makes it a heck of a lot easier to update and upgrade because everything that is custom or contrin is in the "sites" folder thus only one folder to have to back up.

digi_boy’s picture

Thank you.

Am I right to think that I can up load new modules to both locations but better to put core module in the mysite.com/modules directory and others to mysite.com/sites/all/modules directory.

Cheers

vm’s picture

core modules stay where they are, in the root modules folder just as they are when you download drupal.

digi_boy’s picture

shall I now move all other modules from the "core module folder" (mysite.com/modules) to "site folder" (mysite.com/sites/all/modules)?

Thanks

vm’s picture

core modules stay in the root modules folder.

contrib modules can be disabled and moved, then renabled
some have had success moving without disabling and visiting the adminsiter -> modules page to get drupal to reread the modules folders.

side note: if you've read all of this before by searching the answers won't change.

digi_boy’s picture

Many thanks. All done.

shubby’s picture

hello

I followed the instruction as it was stated, but would you please help me finding modules in site/all directory, when we put modules in core directory, it shows up in module list when we open it from admin account but when we put it in site/all directory it doesnt shows anything, is there any alternative way to install modules

Thanks and Regards

igorjava’s picture

I think you have to create directory "modules" inside site/all. So then you would have
site/all/modules. Now all but core modules would go inside that "module "directory.
Hope it works

shubby’s picture

hi

yah, now its working fine, thanks for help