By Anonymous (not verified) on
Hello,
Just a few stupid questions about the Multi-sites configuration ;-)
Let's take an example:
I have the following websites: toto.com and titi.com.
I have installed drupal 6 on toto.com and configured about 20 views.
1. After having installed titi.com, will it share the 20 views from toto.com?
Or do I need to recreate them?
2. I have installed the twitter module. I want a different configuration
between titi.com and toto.com. Will it be possible with multi-sites?
Comments
Multisite means that your
Multisite means that your sites share the same copy of Drupal core, and they each have their own directory under /sites, named after the domain. They will each have a separate settings.php file, typically pointing to separate databases. So your /sites directory should look like this:
all/
default/
toto.com/
titi.com/
About your specific questions:
1. No. When you configure a view through the Views UI, or configure the Twitter module via a form in the admin interface, that configuration is stored in the database. So it does not affect the other site(s) in your multisite setup. Now, presumably you want to share them instead of recreating them manually, which you can do quite easily by exporting your views as a Feature, then saving it in sites/all/modules. As the name implies, modules in sites/all are available to all of your sites.
2. Yes. Again, separate databases are storing separate configuration for each site, even if they are sharing the same module code in sites/all.
Here's more information about multisite.
Thanks a lot for your answer
Thanks a lot for your answer david! :)