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) »
  • Joomla and civicrm multi-site
Pages: [1]

Author Topic: Joomla and civicrm multi-site  (Read 5103 times)

stevegjacobs

  • I post occasionally
  • **
  • Posts: 43
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: Joomla
Joomla and civicrm multi-site
October 10, 2009, 02:24:00 am
We are rebuilding web sites and developing solutions for an organisation that has a number of sub-agencies, for example a youth group, a justice lobbying group, and an agency dealing with refugees and migrant workers. The parent group and each of these agencies currently has a Joomla web site, and the organisation has fair degree of in-house familiarity with Joomla. We would like to develop a centralised civicrm database for them, mainly for the purposes of donation management and email newsletter distribution (though it will likely also be used for events or perhaps course sign up)

I see some kind of instructions for doing something like this for Drupal. I don't see any for Joomla, but we definitely would want to link pages back into the various web sites. Has anyone done this? Is it feasible? How much work is involved?

Thanks

Steve Jacobs
Ireland
Steve Jacobs

The smallest act of kindness is worth more than the grandest intention.
Oscar Wilde

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: Joomla and civicrm multi-site
October 10, 2009, 10:32:30 am

I suspect the multisite stuff should work to a large extent in joomla. You can have multiple joomla website pointing to the same civicrm database with different settings files (and different domain IDs)

You are probably the first group to do this on joomla, we will potentially hit a few bumps, that we can help track and fix. if you are interested in pursuing this, please contact us on IRC

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

stevegjacobs

  • I post occasionally
  • **
  • Posts: 43
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: Joomla
Re: Joomla and civicrm multi-site
October 11, 2009, 06:10:15 am
Hi
Thanks for your quick response. Would this mean that we would need to have the code installalled on each of the Joomla sites, all pointing to the same database, or is there some way to tie things together with one civicrm code install?

Steve Jacobs

The smallest act of kindness is worth more than the grandest intention.
Oscar Wilde

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: Joomla and civicrm multi-site
October 11, 2009, 07:33:30 am

i suspect u'll install it on each joomla install and have the settings point to the same database. you might want to check if joomla has a multisite feature and if so how it works

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

dlwilson007

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
    • Rio Coco Kids
Re: Joomla and civicrm multi-site
October 01, 2010, 11:49:46 am
Hi,

I know this posting is a little older, but I was wondering if there is an update.  I'm getting ready to [hopefully] go through the same exercise - two related joomla sites, but one instance of civicrm shared between the two.

Thanks,
David

colivia

  • Guest
Re: Joomla and civicrm multi-site
May 20, 2011, 08:53:02 am
I second dlwilson007's request for an update.  I am running Civi 3.4.0 and Joomla 1.5.23 and client has asked to build a second Joomla site that leverages the same CiviCRM. 

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: Joomla and civicrm multi-site
May 20, 2011, 10:23:42 am

colivia:

nothing has changed with this since the start of the thread. Since this is starting to be a more common request, would be great if you can experiment and document what you did and hopefully what worked for you

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

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Joomla and civicrm multi-site
May 24, 2011, 03:07:28 am
Just a clarification - there is a drupal multisite module - this implements hierarchical permissions. (it doesn't use drupal specific features - the hooks are pure civi). Each site is a separate domain & has an entry in civicrm_domain table

There is also the option to have several sites running of the same civicrm database with different front-end sites & different settings (e.g payment processor, location settings, currency). In this case there are different entries in civicrm_domain but the permissioning isn't implements (I guess we should call this multi-domain). I would expect that you only need to edit your civicrm.settings.php to implement multi-domain
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

joshuapurcell

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7.4
  • MySQL version: 5.5.8
  • PHP version: 5.3.5
Re: Joomla and civicrm multi-site
July 04, 2011, 02:12:20 pm
Quote from: Eileen on May 24, 2011, 03:07:28 am
Just a clarification - there is a drupal multisite module - this implements hierarchical permissions. (it doesn't use drupal specific features - the hooks are pure civi). Each site is a separate domain & has an entry in civicrm_domain table

There is also the option to have several sites running of the same civicrm database with different front-end sites & different settings (e.g payment processor, location settings, currency). In this case there are different entries in civicrm_domain but the permissioning isn't implements (I guess we should call this multi-domain). I would expect that you only need to edit your civicrm.settings.php to implement multi-domain
Thanks for the added information related to performing this task with Drupal. I also have a similar use case, but the problem is that all my current sites use Joomla. I say 'problem' because it seems that CiviCRM has more integration with Drupal than Joomla currently. If this is wrong please let me know.

If it is accurate, then does this better integration also apply to the most recent versions of Joomla and Drupal as well? I think it would be more likely that I could get these sites upgraded to a more recent version of Joomla than to have them jump over to a new CMS, but all this is in the very early stages of design and planning... anything is possible. I'm mainly interested in what is best for CiviCRM at this point and then we'll go from there.

EDIT: Looks like the following post in another discussion answered the question well for the current versions: http://forum.civicrm.org/index.php/topic,20071.msg83875.html#msg83875
« Last Edit: July 04, 2011, 02:22:51 pm by joshuapurcell »
Joshua Purcell
http://identi.ca/joshuapurcell

jerlin09

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 2
  • CMS version: drupal
  • MySQL version: 2
  • PHP version: css
Re: Joomla and civicrm multi-site
July 19, 2011, 04:55:34 am
Civic CRM does not use table prefix and use its own system.
The table prefix is "civicrm_%".
JMS just share all those tables in addition of the users.

When you are creating several websites into the same DB, by definition, the CiviCRM is identical as they use their own table prefix.
If you are sharing CiviCRM with JMS between separated DB, JMS create links between the DB to share the same tables.
attendance tracking software

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • Joomla and civicrm multi-site

This forum was archived on 2017-11-26.