How to share modules in a multisite

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by manuel_mra on September 1, 2011 at 8:33pm

Hi:
I'm using a multisite environment. The problem is that when i configure a site with a module i need to do to the rest of the sites. How can i do with a module ? I have a main site and about 200 sites to replicate.
Thanks.

Manuel.

Comments

Share Database

Posted by DaneAU on September 6, 2011 at 12:59am

In order to configure the module and have the same settings automatically applied for-each of your 200 sites you would need to share the relevant database table containing the modules configuration accross all your sites, this would cause the settings to be replicated on all sites.l For 200 sites however i don't know if this is an advisable idea

Hi: Would you like to tell me

Posted by manuel_mra on September 6, 2011 at 1:10am

Hi:
Would you like to tell me what table(s) should i share ? or is there a module that do that automated ?
Thank you.

Manuel.

hi answers for this is not

Posted by zeet on September 6, 2011 at 7:02am

hi

answers for this is not simple its mostly depends on what modules your using. some modules store data into tables and conf on drupal variables. sharing drupal variable table is not possible.

i would like more details structure and module of your site to help you out in this.

Features module

Posted by mile23 on September 6, 2011 at 10:02pm

This is where you want the Features module. You configure one site, export its 'features' as a module, and then enable that module in the other sites. It takes care of the settings.

http://drupal.org/project/features

Combine this with drush to change all the point-and-click stuff into some typing on the command line:

http://drupal.org/project/drush

Features module

Posted by manuel_mra on September 7, 2011 at 12:09am

Hi:
Thank you. I'm gonna try with this module.

Manuel.

Another Option is Domain Access

Posted by greggmarshall on September 7, 2011 at 12:28am

Another option to think about is domain access, which not only can share installation modules but also content.

http://drupal.org/project/domain

I agree on domain access

Posted by Tafkas on September 7, 2011 at 6:59am

domain access can help you on this. It lets you decide which tables need to be copied and which tables you want to share across all sites (domains)

Domain Access uses subdomains

Posted by mkhaira on September 8, 2011 at 12:00am

Hi

With Domain Access aren't you restricted to use sub-domain set up? What if you want sub-directories instead?

Thanks!
Mandy

Hi Manuel

Posted by aaftaab on September 8, 2011 at 12:15pm

.. in any of the techniques you follow , don't replicate modules to sub-site directories . Instead put all common modules in /sites/all/modules/[contrib]( if there ) , which will remain available to all sub-sites for your Drupal's installation common codebase . Mostly & generally user tables are shared only for single sign-on purpose .

Multisite

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /