Actually the answer is "mostly". If you put a module in the /modules directory instead of /sites/foo/modules, then it becomes available to all sites. (That does mix it in with core modules. However, the next version of Drupal will have a sites/all/modules directory for that purpose as well.)
You can then go to each site and enable the module, and it will run install script for each site to setup the database (if necessary) for that site. Any configuration you have to do, however, is per-site unless you're merging things like the variable table between sites, which you really shouldn't be doing. :-) However, depending on what it is you're doing it MAY make sense to share tables for that module between multiple sites. That depends on your use case. The web site and install docs have more on shared tables.
In most cases, you probably don't want to have configuration shared between two sites. Think very hard before you do so.
Cheers.
On Sunday 20 August 2006 05:15, dondi_2006 wrote:
Hello,
I have one single drupal installation for several websites. Everything is in /var/www/html/drupal (apache on Linux).
The drupal/sites subfolder has one folder per website, each with its own settings.php, files/, modules/. each site has its separate mysql database.
The question is if it is possible in this context (which I cannot change, doesn't depend from me) to install/configure a module once and have it work in every website using that drupal installation.
If I understand itcorrectly, the answer is no, because I *could* only install one file and link to it from each modules/ folder, but I'd still have to log in to each single site to enable the module, right? Or not?
TIA, D.