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 this something CiviCRM multisite can do?
Pages: [1]

Author Topic: Is this something CiviCRM multisite can do?  (Read 3275 times)

ThomWilhelm

  • I’m new here
  • *
  • Posts: 10
  • Karma: 2
  • CiviCRM version: 4.2
  • CMS version: Drupal
  • MySQL version: 5
  • PHP version: 5
Is this something CiviCRM multisite can do?
March 08, 2013, 04:32:22 am
We've currently got a Drupal 7/CiviCRM 4.2.x site running with:

- A lot of custom data on the contacts (it's an education based application)
- Custom signup webforms (using the webform_civicrm module)
- Quite a few custom drupal modules to provide users a "dashboard" overview of the data rather than using the Civi UI.

We now have a requirement to launch a new site, on a separate domain, essentially it's exactly the same concept but:

- The custom data fields on the contacts would be different
- Therefore the signup webforms would be different

I don't want to just copy/clone the site, as then any changes I make to the codebase would need to be made for each site, and each site would need to be upgraded/patched separately etc.

Any ideas? I've looked at CiviCRM domains, but can't quite determine if it meets this requirement. The requirement I'm wondering about is how I can have different custom fields on different domains, whilst still using the same CiviCRM database.

Thanks,
Thom.

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 this something CiviCRM multisite can do?
March 08, 2013, 08:56:13 am

are the contacts between the two domains exactly the same? or would the domains have a separate set of contacts?

u can potentially use an acl hook to decide what domains see what custom groups and separate them that way.

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

ThomWilhelm

  • I’m new here
  • *
  • Posts: 10
  • Karma: 2
  • CiviCRM version: 4.2
  • CMS version: Drupal
  • MySQL version: 5
  • PHP version: 5
Re: Is this something CiviCRM multisite can do?
March 08, 2013, 09:04:29 am
Hi Lobo,

Two things here:

- The users on one domain should not be able to see contacts on the other domain.
- The custom fields for the contacts on each domain would be very different. For example on the existing domain, we have custom fields about a students education history. We'd want these on the other domain, but they'd be very different as the education system is completely different. As far as I can see from the docs the CiviCRM "domains" concept is for segregating identical data sets.

I'm wondering if this is something we should do using Drupal multisite and two separate CiviCRM/Drupal databases, but sharing the same modules/codebase.

Thom.

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 this something CiviCRM multisite can do?
March 08, 2013, 09:07:49 am

yes, in your case, share the codebase, but keep the db's separate. is a lot easier to manage and administer

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

ThomWilhelm

  • I’m new here
  • *
  • Posts: 10
  • Karma: 2
  • CiviCRM version: 4.2
  • CMS version: Drupal
  • MySQL version: 5
  • PHP version: 5
Re: Is this something CiviCRM multisite can do?
March 08, 2013, 09:13:58 am
Thanks Lobo, appreciate your feedback, very new to working out how best to do this, is causing a real headache! :)

Only other question I have (and I will try myself by experimenting and report back anyway to see if this works for us), is that I'm considering copying the original CiviCRM and Drupal databases to create the new ones (so we don't have to reconfigure everything from scratch), wiping the contacts/groups etc., then making the custom field changes and customisations at that point.

Does that sounds sensible?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Multi-Site functionality »
  • Is this something CiviCRM multisite can do?

This forum was archived on 2017-11-26.