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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Sync more than the email on drupal->civicrm (content_profile integration)
Pages: [1]

Author Topic: Sync more than the email on drupal->civicrm (content_profile integration)  (Read 894 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Sync more than the email on drupal->civicrm (content_profile integration)
April 01, 2010, 07:40:06 am
Hi,

Got a drupal website using content_profile to add extra information to the user (first name last name and so on)

If have hacked by way and modified the sync program so it adds these fields when creating the civicrm contact, but was wondering if there is already a hook available to I could do that cleanly from a module instead of hardcoding ?

It would also allow, for instance, to automatically set the sub type of a contact that is a user, or put it in a specific group or tag it or what else...

X+



-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

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: Sync more than the email on drupal->civicrm (content_profile integration)
April 01, 2010, 10:01:54 am

any specific reason you are not using civicrm profiles exposed to drupal registration?

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

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Sync more than the email on drupal->civicrm (content_profile integration)
April 01, 2010, 11:17:56 am
That's because that's how it's done now, we want to migrate the data into civicrm, and then replace it by civicrm profiles.

But to migrate the datas, was looking to alter the sync tool to put the first and last and country beside the email.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Sync more than the email on drupal->civicrm (content_profile integration)

This forum was archived on 2017-11-26.