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 »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Syncing data from Drupal node
Pages: [1]

Author Topic: Syncing data from Drupal node  (Read 1201 times)

Simon147

  • I post occasionally
  • **
  • Posts: 96
  • Karma: 3
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7.30
  • MySQL version: 5.0.92
  • PHP version: 5.2.9
Syncing data from Drupal node
February 24, 2013, 04:21:27 pm
I currently work on a website with a company directory. The data of the companies is saved in different fields of a drupal node (the address is registered using the Location module). I would like to sync this data with CiviCRM. I'm however feeling a bit lost about which would be the best way to do so. Has anyone experience with a similar case?
« Last Edit: February 24, 2013, 04:41:30 pm by Simon147 »

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Syncing data from Drupal node
February 25, 2013, 12:43:18 am
is there some advantage to you by saving the Org data in to node fields rather than pushing it straight in to civi eg via a webform? ANd then exposing back in drupal via views/blocks?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Simon147

  • I post occasionally
  • **
  • Posts: 96
  • Karma: 3
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7.30
  • MySQL version: 5.0.92
  • PHP version: 5.2.9
Re: Syncing data from Drupal node
February 25, 2013, 01:57:22 am
There are two reasons for this: 
  • Speed: The website runs on a rather slow server. I'm afraid that if data is extracted from the CiviCRM database it would be too slop. Am I right about this?
  • It's a directory where people can comment and rate the entries


petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Syncing data from Drupal node
February 25, 2013, 11:37:14 am
civicrm shouldn't be bringing anything to a slop ;-) but may be an issue with your hosting set up.

i don't know about the status of pushing data from entity fields but since you can make webforms work on any content type, can't you still have your 'node' about your company, and use the civicrm reference field and webform-civicrm as a route to what you want
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Simon147

  • I post occasionally
  • **
  • Posts: 96
  • Karma: 3
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7.30
  • MySQL version: 5.0.92
  • PHP version: 5.2.9
Re: Syncing data from Drupal node
February 25, 2013, 02:10:39 pm
I've in the past set up a website where I used CiviCRM to put together a list with members of an association of companies. It was easy to display this list.

In the present context however, each entry has its own node with a short description, a photo album, address + map and the possibility for the users of the site to give comments and rate the company.

I see that with webform I can collect the data and save it into CiviCRM. But how can I then extract data (name of company + address + maybe map) from CiviCRM and include this in my drupal node? Can this be done directly with Webform?  

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Syncing data from Drupal node
February 25, 2013, 02:13:08 pm
i would tend to be storing the data in civicrm then pull a contextual filter block on to the node to show the data from civi - sorry i can't provide a lengthier explanation right now
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Syncing data from Drupal node

This forum was archived on 2017-11-26.