Sites/all in User's Guide

Posts: 9
Joined: 04/03/2008

Hello all,
The User's Guide suggest uploading all modules to the Sites/All/Modules folder.
http://www.ubercart.org/docs/user/3312/installing_drupal I think this assumes one is building a multi-site. I dont quite understand how to build a multi-site yet (though there seems to be quite a bit of info on DO...the technology, terminology & varying methods still confuse me at this point).

Even though my modules are uploaded to my sites/all/modules folder, they still do not appear on my Admin >> site building >> modules page. Should they appear there, even if the rest of the setup is not configured for multi-site? ...Have I done something wrong?

Thanks,
Kelly

--

Dr. Goose - no ordinary genius.

Posts: 2244
Joined: 08/07/2007
AdministratoreLiTe!

The sites/all folder works regardless of the number of sites a Drupal installation serves. If you also have a sites/example.com folder, Drupal will use both. If the same module or theme is in both places, Drupal uses the more specific folder.

The modules really should be listed on the admin page. As long as there is a .info and a .module file for each in a sites/[foo]/modules folder, it should show up. Compressed archives won't work.

It is my opinion that the multi-site features of Drupal are generally more trouble than they are worth. Fortunately, they don't make setting up a single site any harder.

Posts: 9
Joined: 04/03/2008

Hi Lyle,
Thanks for the note. I've always 'thought' all contributed modules should go into the sites/all/modules folder...but when I upload them there, I never see them on my admin/modules page. Having done this several times, and not seen it there, I then dump them into the /modules folder (which I thought was bad practice, for upgrades, etc)...but that's the only way I can ever get a module to appear.

So....

I'm looking for a .info and .modules folder in the sites/all/modules folder. I dont see it there (maybe this would explain why modules dont appear on Admin >>modules page?). The only file in the sites/default folder is a settings.php file.

This is where I'm confused. Since I created the sites/all/modules and sites/all/themes folders, do I need to create/copy&paste a .info and .modules file in these newly created folders? OR - do I need to edit them (where ever they exist) in order to point it to sites/all/modules, themes, etc?

Thanks!
Kelly

--

Dr. Goose - no ordinary genius.

Posts: 9
Joined: 04/03/2008

Ok, after some poking around, I see that all modules contain the .info and .module extension. My directory structure looks like this:

[foo.com]/sites/all/modules/cck/content.info ...cck/content.module, etc.

The best I can tell, it seems like the modules are in the right place...but not sure why they're not appearing in the /admin/build/modules page Sad

--

Dr. Goose - no ordinary genius.

Posts: 9
Joined: 04/03/2008

Fixed the problem....

sigh...

'Modules' was capitalized...

Doh!

I've had this problem for some time...glad to know what I did wrong.

--

Dr. Goose - no ordinary genius.

Posts: 63
Joined: 04/16/2008
Cool profile pic award.

once you have created the modules folder then copy or install your modules in that folder. the eachmodule.info file belongs inside its own folder. Example: sites/all/modules/mymod/mymod.info
Reference: http://drupal.org/node/70151