Upcoming Events

NYC CiviCRM Meetup - September 7th
September 7th, 2010
This next NYC meetup will feature a case study or 2, a look at what's new in (more...)

Configuring, Customizing and Extending CiviCRM - New York
September 16th, 2010
This comprehensive two-day hands on training course is targeted at (more...)

CiviCRM User and Administrator Training - New York
September 16th, 2010
A comprehensive two day hands on training course covering the configuration, (more...)

CiviCRM Code and Test Sprint - New York
September 18th, 2010
This code and test sprint is targeted at experienced developers who want to (more...)

CiviCRM Toronto Meetup
September 21st, 2010
Come meet others from the Toronto Area who are interested in, using or (more...)

CiviCRM Philly Meetup – September 2010
September 23rd, 2010
Come meet others from the Philadelphia Area who are interested in, using or (more...)

CiviCRM Seminar - Dublin
September 28th, 2010
NfP Services are hosting a free seminar at The IBOA, Stephen St Upper, Dublin 8 (more...)

London developer and implementer training
September 30th, 2010
This comprehensive two-day hands on training course is targeted at implementers, (more...)

London user and administrator training
September 30th, 2010
A comprehensive two day hands on training course covering the configuration, (more...)

Berlin user and administrator training
October 6th, 2010
A comprehensive one day hands on training course covering the configuration, (more...)

Berlin developer and implementer training
October 7th, 2010
This comprehensive one-day hands on training course is targeted at implementers, (more...)

Benelux meetup in Brussels: Connect, communicate and activate your supporters and constituents
October 11th, 2010
Come meet others who are interested in, using or developing for CiviCRM. For (more...)

CiviCRM Toronto Meetup
October 19th, 2010
Come meet others from the Toronto Area who are interested in, using or (more...)

CiviCRM Toronto Meetup
November 16th, 2010
Come meet others from the Toronto Area who are interested in, using or (more...)

CiviCRM Components

Tools for engaging your supporters...

CiviContribute


CiviEvent


CiviMail


CiviMember


CiviReport


Custom Groups, Custom Fields and multiple values

Not Just a Contact Database

These optional components give you more power to connect and engage your supporters.

  • civiEVENT

  • Online event registration and participant tracking.

  • civiMEMBER

  • Online signup and membership management.

  • civiMAIL

  • Personalized email blasts and newsletters.

  • civiREPORT

  • Report generation and template management.

November 2, 2008 - 07:26 — lobo

The CiviCRM core team is currently meeting in San Francisco. We tend to meet 2-3 times a year. These meetings help us crank out a few large projects as a group and also help improve our communication when we return to our respective home bases. The focus of the San Francisco meetup has been on CiviCase, US PIRG projects and a few features from the 2.2 roadmap.

Our group (kurund, yashodha and me) have been working on extending custom groups with two new features. In 2.2 a custom group can be designated to hold multiple values. This allows a contact (or relationship/group/activity) to have a 1 to n relationship with a custom group. One use cases for this is storing educational history of a contact. A custom group with fields: Name of School, Qualification earned and Graduation Date could be designated as multi-valued. A contact could have 0 or more educational records. Viewing this custom group will show all the educational information associated with the contact. On edit, you can modify the existing information and/or choose to add new information. Implementing this at a group level has fairly minimal schema changes and is a good chunk for us to tackle and get working for 2.2.

Kurund is working on building the view/edit/create screens using jQuery. Yashi has been working on database and interface changes needed for custom group settings. I was responsible for the api functions that store/retrieve custom values from the table. I wrote a few unit tests and in the process found a couple of bugs with the current custom data storage. I then extended the parameters and return values to allow for multiple value and wrote a few more unit tests to ensure that this worked in both the old and the new format. The CiviCRM code base is fairly well structured, so we have to make the code changes in just a few places (or so we hope). We are also taking this time to clean and update the custom group/field codebase

Yashi is also working on adding custom group support for specific events pages. Users will be able to create a custom group that extends the object 'Participant' for one specific event. We will generalize this in future releases and add more fields.

Comments

jQuery - more javascript

I looked quickly at jQuery and while I have no technical opinion on its use I do have a practical concern - Kilobytes!

What with DoJo, Calendar, and MooTool (in Joomla 1.5) scripts, the first connection to a CiviCRM site downloads about 0.5 Mb of data - sloooow. Each subsequent connection tests each of these .js files for an update - slooow. This is particularly a problem over an HTTPS connection where you can't use a proxy.

Please consider performance as well as functionality/coolness.

dojo and calendar will be retired in a future release ..

we will not be able to make the full transition in 2.2, but in 2.3 we'll only ship with jQuery. We'll also replace the calendar widget with a jquery calendar widget (or so we hope)

lobo

Great news

Glad to hear this piece is coming together. It will provide great flexibility for the system.

I will be interested to see how the multiple value groups integrate into profiles, especially if they are combined with custom fields (and core fields) that are not multiple values.

Within a single profile, would a user be able to complete some single-value fields, and have the option of entering multiple records for the multiple value fields? This, in my mind, would be the best scenario. Envision a form where a number of records regarding the individual are captured, and, as in the example above, the user can complete 3 records for their educational background, then 5 records for their employment background. All within the same form.

integration with profiles might not happen in 2.2 ..

i suspect profile integration will be in 2.3/3.0

Import/Export

Wow, this could not have been more timely.

Are there plans to support importing into these fields? Sorry if this is an obvious question :)

Hmm, i dont think so ...

the first version will be pretty simple and restrictive. So i'm pretty sure we wont support import/export for these groups/fields

Once we get the multiple value thing working for custom groups, our next task will be to get it working via profiles and figure out what extensions we need to do so. I suspect we'll look into import/export after that

however if important to you, consider a code contribution / sponsorship. You can also write a custom search to do the needful quite easily

lobo