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
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
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
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
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
Hi:
Thank you. I'm gonna try with this module.
Manuel.
Another Option is Domain Access
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
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
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
.. 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 .