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 »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Joomla and CiviCRM with separate databases
Pages: [1]

Author Topic: Joomla and CiviCRM with separate databases  (Read 1520 times)

HP7

  • Guest
Joomla and CiviCRM with separate databases
November 19, 2009, 11:54:29 am
Joomla and CiviCRM with separate databases

I have it running, but I can't seem to select any (event, contribute, etc.) items in basic parameters when creating a menu item (under menu manager in joomla).
Any help would be appreciated this is a bit urgent. Thanks in advance



installed Joomla 1.5.15 and civiCRM 3.0.2 and it seems to break linking in menu manager. I have tried two separate installs and same thing used alt version. Is this a bug in 3.0.2?
« Last Edit: November 19, 2009, 02:24:01 pm by HP7 »

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 with separate databases
November 19, 2009, 08:19:51 pm

u will need to modify the xml files and the queriees in:

components/com_civicrm/views/ (like: components/com_civicrm/views/Profiles/tmpl/view.xml )

to account for the civicrm tables being in a separate db

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

HP7

  • Guest
Re: Joomla and CiviCRM with separate databases
November 20, 2009, 06:43:48 am
I have done this but No success. Can you give an example of a query for one of the xml files? This is what I put for all files I found

line 18 for views/Eventstmpl/default.xml
<param name="id" type="sql" default="10" label="Select an Event" query="SELECT id,title FROM DatabaseName.civicrm_event WHERE is_active = 1 AND is_online_registration = 1 ORDER BY title" key_field="id" value_field="title" />
still does not work

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 with separate databases
November 20, 2009, 07:58:39 am
we have not tried it with multiple databases and hence cannot help much more out here

if you figure it out, please post your solution so others can benefit

also if u r in the NY area, you might want to consider attending the Joomla Dev Camp (dec 5-6) and help improve CiviCRM on Joomla. We'll also be there on monday :)

thanx

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Joomla and CiviCRM with separate databases

This forum was archived on 2017-11-26.