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 »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Synchronizing Drupal user profile with CiviCRM contact info
Pages: [1]

Author Topic: Synchronizing Drupal user profile with CiviCRM contact info  (Read 2531 times)

rww

  • Guest
Synchronizing Drupal user profile with CiviCRM contact info
May 28, 2009, 08:34:06 pm
Is there a way to synchronize the information that is created by Drupal's advanced profile module and that which is stored as contact information in CivCRM?

Thanks.
RW Wood

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: Synchronizing Drupal user profile with CiviCRM contact info
May 28, 2009, 08:42:12 pm

we are not aware of any

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

rww

  • Guest
Re: Synchronizing Drupal user profile with CiviCRM contact info
May 29, 2009, 03:29:46 am
What about synchronizing CiviCRM with the info created by the standard profile module that is part of Drupal core, but that is not enabled by default?

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: Synchronizing Drupal user profile with CiviCRM contact info
May 29, 2009, 07:53:34 am

Can you describe what your use case is?

You might also want to consider using CiviCRM profiles which collects information from users and stores it in 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

rww

  • Guest
Re: Synchronizing Drupal user profile with CiviCRM contact info
May 29, 2009, 12:09:07 pm
The idea would be to collect user/member info at the time of registration for use on the CiviCRM side for church membership management. We already have much of the info for most members, but by interfacing with the drupal, it would allow keeping info between the two areas current and member editable.

Thanks

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: Synchronizing Drupal user profile with CiviCRM contact info
May 29, 2009, 12:25:58 pm

i would recommend to use CiviCRM profiles to collect info at time of registration

you will need to write a one off script to transfer drupal profile / advanced profile from the drupal tables to the civicrm tables.

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

rww

  • Guest
Re: Synchronizing Drupal user profile with CiviCRM contact info
May 29, 2009, 02:39:21 pm
I'm not sure of the mechanics for how that would work. ie, if I were a new visitor to the Drupal site and attempt to register, how would I get redirected to the page for storing CiviCRM profile info?

I'm just beginning to experiment with CiviCRM, so I'm not sure how the permissions, user groups, etc. inter mesh between the two.
 

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: Synchronizing Drupal user profile with CiviCRM contact info
May 29, 2009, 03:14:59 pm

You might want to:

1. read the civicrm book: http://en.flossmanuals.net/civicrm/

2. look thru the civicrm docs: http://docs.civicrm.org/

3. play around with the demo: http://drupal.demo.civicrm.org/

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

Matt2000

  • I post frequently
  • ***
  • Posts: 288
  • Karma: 27
    • http://www.ninjitsuweb.com
Re: Synchronizing Drupal user profile with CiviCRM contact info
May 29, 2009, 04:20:49 pm
rww,

You've got two approaches:

1) CiviCRM provides a means to automatically inject it's profile form into the Drupal registration.

2) If you need careful matching with pre-existing CiviCRM records based on something other than email address, this module will redirect from Drupal's registration to a CiviCRM profile form: http://drupal.org/project/civiregister

Best,
Matt
http://www.NinjitsuWeb.com



Drupal/CiviCRM micro-blogging http://twitter.com/matt2000

Ninjitsu Web Development http://www.NinjitsuWeb.com/

rww

  • Guest
Re: Synchronizing Drupal user profile with CiviCRM contact info
May 30, 2009, 03:07:05 pm
I've searched and read what I could find on profiles, but I still have some questions.

Quote from: Matt2000 on May 29, 2009, 04:20:49 pm
rww,

You've got two approaches:

1) CiviCRM provides a means to automatically inject it's profile form into the Drupal registration.
Is the injected profile in addition to the already existing Drupal profile fields, or does it take the place of the existing Drupal registration form?

Quote from: Matt2000 on May 29, 2009, 04:20:49 pm
2) If you need careful matching with pre-existing CiviCRM records based on something other than email address, this module will redirect from Drupal's registration to a CiviCRM profile form: http://drupal.org/project/civiregister

I intend to try this module, but if what I want to do (collect all user/contact info at the time of registration) can be done without additional modules, I would prefer that.

Thanks.
RW Wood

Matt2000

  • I post frequently
  • ***
  • Posts: 288
  • Karma: 27
    • http://www.ninjitsuweb.com
Re: Synchronizing Drupal user profile with CiviCRM contact info
May 30, 2009, 03:11:49 pm
Quote
Is the injected profile in addition to the already existing Drupal profile fields, or does it take the place of the existing Drupal registration form?

In the case of (1) is it in addition to. In the case of (2) it replaces.

So normally, you would not use Drupal's profile module at all, and you should not have need for (2) either, in most cases.

If you have pre-existing data, you'll need to write a one time script to migrate that data, as lobo mentioned.
Drupal/CiviCRM micro-blogging http://twitter.com/matt2000

Ninjitsu Web Development http://www.NinjitsuWeb.com/

rww

  • Guest
Re: Synchronizing Drupal user profile with CiviCRM contact info
May 31, 2009, 04:16:41 am
The Civiregister module looks like what I want to use. It appears however that there is no way to set up a profile that would allow me to collect a contacts household membership status. Is there a way to do that? What I have in mind is that a person would either register as a head of household or as a member of an existing household.

Thanks again for your help.

Matt2000

  • I post frequently
  • ***
  • Posts: 288
  • Karma: 27
    • http://www.ninjitsuweb.com
Re: Synchronizing Drupal user profile with CiviCRM contact info
June 02, 2009, 03:42:24 pm
This could be coded using civicrm's hooks.

Remember, you only need civiregister, if you're matching new registrants to pre-exisiting civicrm data based on something other than email address.
Drupal/CiviCRM micro-blogging http://twitter.com/matt2000

Ninjitsu Web Development http://www.NinjitsuWeb.com/

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Synchronizing Drupal user profile with CiviCRM contact info

This forum was archived on 2017-11-26.