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 CiviMail (Moderator: Piotr Szotkowski) »
  • how do I merge drupal data
Pages: [1]

Author Topic: how do I merge drupal data  (Read 1799 times)

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
how do I merge drupal data
December 13, 2007, 10:19:08 am
I'm wondering if it is possible to merge drupal cck information that is user specific into CiviMail messages.

Are there any tokens that currently pull out drupal data?

Ideally, it would be great to create a new customizable CiviMail token that would insert data from a view that takes the user as an argument for filtering.
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

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: how do I merge drupal data
December 13, 2007, 10:42:09 am

No, but adding that extension is probably quite easy to do (if you dont care a lot about efficiency). I suspect to make it efficient would be some more work (i.e. extract data for all contacts/users in bulk)

would be a good community contribution. I suggest u adopt a good naming scheme that the code could filter on, so cck.FIELD_NAME is probably appropriate

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

MacRonin

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 14
Re: how do I merge drupal data
December 13, 2007, 10:51:57 am
You might want to take a look at the Drupal Token module for some ideas or maybe even a starting point

http://drupal.org/project/token

Tokens are small bits of text that can be placed into larger documents via simple placeholders, like %site-name or [user]. The Token module provides a central API for modules to use these tokens, and expose their own token values.

Note that Token module doesn't provide any visible functions to the user on its own, it just provides token handling services for other modules.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • how do I merge drupal data

This forum was archived on 2017-11-26.