I've coded two things that I (and I suspect a number of us) need in CiviCRM support for CCK:

  1. Autocompleting for selecting contacts. This is my "add the CID to the end" hack, now working from within Mark's civicrmdata module.
  2. CCK fields that display contacts can now configure a different profile for each field.

Since I've also just added group support for this, I'm not submitting this as a patch, but as the complete module. As before, it should be diffed on Mark's last official version of 5/25.

CommentFileSizeAuthor
civicrmdata_0.module10.69 KBTorenware

Comments

mfredrickson’s picture

Ok. I'm going to work on this patch as two separate issues.

First I will get the profile selection included. I consider that a field setting (though I don't really understand the difference between field settings and widget settings).

Next, I will look at the autocomplete. I think I will probably accept Torenware's implementation as it is, but I am looking for a generalized autocomplete selector for the next version of drupal.js (in 4.8), or perhaps sooner in contrib.

mfredrickson’s picture

I've added the profile selection and rendering code. Looking good. This is a great feature.

Torenware’s picture

Status: Needs review » Fixed

Checked in. We are golden!

Anonymous’s picture

Status: Fixed » Closed (fixed)