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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.4 and 4.0 Releases Testing »
  • Joomla 1.6.1 & CiviCRM 4.0.alpha3 Database tables (& prefixes)
Pages: [1]

Author Topic: Joomla 1.6.1 & CiviCRM 4.0.alpha3 Database tables (& prefixes)  (Read 1399 times)

danetidwell

  • I post occasionally
  • **
  • Posts: 36
  • Karma: 2
Joomla 1.6.1 & CiviCRM 4.0.alpha3 Database tables (& prefixes)
March 18, 2011, 11:50:34 pm
I have a couple of questions about the MySQL database.

1. Why does CiviCRM not follow the Joomla database prefix naming scheme as other components do? (i.e. every Joomla component leads with the same prefix as Joomla files, jos_componentname)

2. Can it be set up to do so? I don't recall any option in the installation to specify anything about the database.

The reasoning is that several multi-site components were created for Joomla 1.6, most of which use Views and creating duplicates of the primary Joomla database tables (but not the installation itself). Every component is available in each additional site and can pull its information from either a standalone database (jos_additionalsite_componentname) or share the main site's tables.  However, because CiviCRM doesn't follow the Joomla structure (it creates its own within the same database), those tables don't get replicated and CiviCRM doesn't work in any of the additional installs.

Another issue is that variables are defined in a settings file (install location, media, etc) instead of in the database. Changing those in the CiviCRM admin section would change it for the entire install, would it not?
« Last Edit: March 18, 2011, 11:56:58 pm by danetidwell »

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 1.6.1 & CiviCRM 4.0.alpha3 Database tables (& prefixes)
March 19, 2011, 07:05:28 am

Since CiviCRM plays with Drupal and Joomla (and hopefully WordPress soon), we did not get around to figuring out and adapting the "prefix" conventions each of the CMS's have.

CiviCRM does support multi-site / multi-org (search the wiki for more info on this), that might match what you need to do. Note that most/all of this development has been done and tested on drupal

It cannot be setup to use prefixes in current version. Not in the roadmap for the next version either

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

danetidwell

  • I post occasionally
  • **
  • Posts: 36
  • Karma: 2
Re: Joomla 1.6.1 & CiviCRM 4.0.alpha3 Database tables (& prefixes)
March 23, 2011, 11:34:06 am
Thanks for the reply!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.4 and 4.0 Releases Testing »
  • Joomla 1.6.1 & CiviCRM 4.0.alpha3 Database tables (& prefixes)

This forum was archived on 2017-11-26.