I've used Drupal for 2 weeks. I read many articles about multisite but there is no article can make me satisfied.
I want to have a system:
- Multisite: a main site (mainsite.com) and many subsites (sub1.mainsite.com, sub2.mainsite.com, ...)
- All sites use one core Drupal
- Single sign on, user can sign in every sites to use resources (i'm want to use LDAP to manage users)
- Shared vocabulary and terms
- There are some contents appears all sites (but they can be only posted once)
- Using one or more database
- user's permission is different from sites
- Each site has different admin
- User can only post at this site but other is not
how can I set up multisite using Drupal and what modules I need?
Thanks for your support!
Comments
The problem with the
The problem with the partially shared content, as far as I know, is that all your content in each site has its own node id and a unique table (node and node_revision) to hold its main data. It will depend, then, of the way you want to share some of the content and the way you want it to be edited that you won't get it with a multisite system or very hardly. that doesn't mean you cannot share content via rss, for instance, although I undestand this is not really sharing content. I had once some requirement on shared content which I couldn't serve because of the heavy programming it appeared to need.
For the other of your requirements, no problem with the first four points nor with the last four points either. It will be just a matter of sharig the right tables.
Robert Garrigós
Professional site: garrigos.cat
Robert Garrigós
Professional site: garrigos.cat
I'm actually looking for
I'm actually looking for something similar. I have the basics down for two test sites, one master & one secondary.
First attempt at actually having MERGED content was with the "Event" Module. I installed it into sites/all/modules, then redirected the databases to run from the "Shared Database". Problem is, when I enter content on one site, it shows. Then add content from the other one, it's giving a "Duplicate" entry error, even when the content is different. Anyone find a way around this?
Actual Error is:
user warning: Duplicate entry '4' for key 1 query: INSERT INTO shared_dbname.event (nid, event_start, event_end, timezone, start_in_dst, end_in_dst, has_time, has_end_date) VALUES (4, '2009-07-17 3:21:00', '2009-07-17 3:21:00', 119, 1, 1, 0, 0) in /path/to/my/domain.com/sites/default/modules/event/event.module on line 2380.
Ideally, I'd like city one Events listing only on city one...
city two Events listing only on city two...
All of the events to show on the master site.
If not, I'll be content to use Taxonomy to differenciate the different cities. Which brings me to my second question: Which tables need to be in the Shared Database if I want Taxonomy to be universal? Including Nodewords & other extra Taxonomy modules.
Cheers in advance!