I am looking for guidance on creating a multi-site Drupal installation that allows me to have content appear on all my installations as well as site specific content.

For example, I envision having Craigslist-like location switching. Users could be on the California version of my site (say ca.site.com) then link to the New York version (ny.site.com).

I want to have some content that is national in scope, so it appears on both the California and New York sites, while other content is specific to each location/site.

It’s pretty clear how to do multi-site Drupal where each site has its own database but the individual sites leverage a common Drupal code base.

It’s sort of clear to me how one can do this yet still share data (user accounts, etc.). As best I can tell the provided example demonstrates how to share tables for the core Drupal installation itself and not content.

Is this achievable? I want to avoid separate Drupal installations and databases, if possible.

Comments

brenda003’s picture

You could have the cities be different categories instead. Or, just share a specific node type between databases rather than all content, perhaps?

I share content within multisites, but I simply make the content not easily visible on the sites it doesn't relate to by excluding any links to said content. But this may not work for you.

Just some ideas.

clarkritchie’s picture

Categories, good thinking. Had not thought of that. I will explore that further.

harry slaughter’s picture

may want to read this:

http://devbee.com/managing_multisite_content_from_

--
Drupal tips, tricks and services
http://devbee.com/ - Effective Drupal

--
Devbee - http://devbee.net/

clarkritchie’s picture

Thank you, Harry, that is helpful.

kerios83’s picture

Very helpful but for drupal5. Is there something similar for drupal7 ?