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 »
  • Using CiviCRM »
  • Using Multi-Site functionality »
  • Is multi-site what I actually need?
Pages: [1]

Author Topic: Is multi-site what I actually need?  (Read 1494 times)

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Is multi-site what I actually need?
January 23, 2012, 04:41:40 am
And if so, how to go about it?

Here's the issue: My client has two Drupal sites - one focusses on their organisation and its core activities, whilst the second is specific to a major project that they are undertaking. Both are Drupal 6 sites, and the 'main' site has CiviCRM installed, which we are using for memberships, mailings and event management.

What I want to do is have the same CiviCRM db accessible through the second 'project' site also. I don't need any segregation of data as it all beings to the one organisation, and users with CiviCRM access privileges should be able to see all the data. It would be helpful to know from which site contacts are being created.

The two Drupal sites are on the same server, but don't share the same codebase.

Any advice as to how to achieve this? I've read through the guidance at http://wiki.civicrm.org/confluence/display/CRMDOC40/Multi+Site+Installation and in large part it sounds like it should work for my use case, although as my current installation is up and running and in active use, I'm wondering whether there are additional steps I need to take, as the guidance specifically states right at the beginning "Before visiting any civicrm url enable multisite by modifying civicrm_settings.php", which of course I can't do.
Graham Mitchell
http://mc3.coop

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Is multi-site what I actually need?
January 23, 2012, 07:40:04 am

i think a much much easier and simpler option would be to:

1. use drupal multisite for the two sites, hence same code base

2. share the user table (so users and contacts are the same across both sites)

3. 2 different civicrm.settings.php files but both pointing to the same database

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: Is multi-site what I actually need?
January 23, 2012, 02:14:51 pm
Many thanks Lobo, I'll have a go with this and see what happens.

Graham
Graham Mitchell
http://mc3.coop

Thoudahl

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
  • CiviCRM version: 4.1.1
  • CMS version: Joomla 1.7.1
  • MySQL version: 5.5.15
  • PHP version: 5.3.8
Re: Is multi-site what I actually need?
February 23, 2012, 01:52:07 pm
Quote from: Donald Lobo on January 23, 2012, 07:40:04 am

3. 2 different civicrm.settings.php files but both pointing to the same database

lobo
How exactly should I do this?

I am currently setting up two joomla sites (again a host organization and a project) running on same codebase but with different domains.
My problem is now to send out mailings with the correct domain name etc.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Multi-Site functionality »
  • Is multi-site what I actually need?

This forum was archived on 2017-11-26.