CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • Multi-site installation with shared contacts and separate content
Pages: [1]

Author Topic: Multi-site installation with shared contacts and separate content  (Read 1391 times)

ojacquet

  • Guest
Multi-site installation with shared contacts and separate content
February 04, 2009, 02:15:15 am
The multi-site installation options page states the following:

Quote
The third alternative is for a shared contact database, but multiple, separate content interfaces. This may be used when an organization launches different sites for specific campaigns, or when organizations in a tight coalition are sharing contacts. Later versions of 1.x and all versions of 2.x do not support this configuration.

Now it just happens that is exactly what I'm needing but it is no longer supported. Is there any way to achieve the "shared contacts, separate content" in CiviCRM 2.1? And if so, where can I find information about that.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Multi-site installation with shared contacts and separate content
February 04, 2009, 04:20:24 am
If I understood you correctly, you want single CiviCRM install and multiple Drupal setups ?
 - So I guess first you need to configure Multi-site in drupal http://drupal.org/node/43816
 - then install CiviCRM in sites/all/modules so that it will be available for all your drupal multi-sites.

HTh

Kurund
Found this reply helpful? Support CiviCRM

ojacquet

  • Guest
Re: Multi-site installation with shared contacts and separate content
February 04, 2009, 05:06:00 am
Well, I want more than that. I also would like that the contacts are shared over all the drupal installs.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Multi-site installation with shared contacts and separate content
February 04, 2009, 05:21:39 am
Quote
I also would like that the contacts are shared over all the drupal installs.

Right. You should try drupal multi-site setup and then install CiviCRM.

Kurund
Found this reply helpful? Support CiviCRM

mrfelton

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
    • KirkDesigns
Re: Multi-site installation with shared contacts and separate content
February 09, 2009, 12:55:19 am
If you plan on sharing contacts, you need to set all your drupal sites up to share the users table. To do that, you need to have them all in the same Drupal database, each with a different table prefix. Something like this in your Drupal settings.php files:

// settings.php of site1
$db_prefix = array(
  'default'   => 'site1_',
  'users'     => 'shared_',
  'sessions'  => 'shared_',
  'role'      => 'shared_',
  'authmap'   => 'shared_',
  'sequences' => 'shared_',
);

// settings.php of site2
$db_prefix = array(
  'default'   => 'site2_',
  'users'     => 'shared_',
  'sessions'  => 'shared_',
  'role'      => 'shared_',
  'authmap'   => 'shared_',
  'sequences' => 'shared_',
);

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • Multi-site installation with shared contacts and separate content

This forum was archived on 2017-11-26.