31 August, 2011
By jamie
Filed under API, Drupal
I hope Michal will forgive me for typing during his Developer training presentation on tests. Since I heard the presentation at CiviCon, I instead tried, as an exercise based on what we learned this morning, to create a custom group and custom field via the install hook in a Drupal module. Here are the results...

function civicrmtest_install() {
  require_once 'api/api.php';
  $params = array(
    'version' => 3,
    'extends' => array('Individual'),
    'title' => 'JamieGroup',
    'is_active' => 1,
  $result = civicrm_api('CustomGroup','Create',$params);
  if($result['is_error'] == 1) {
    drupal_set_message('Error creating Custom Group');
  } else {
    $value = array_pop($result['values']);
    $custom_group_id = $value['id'];
    $params = array(
      'version' => 3,
      'label' => 'JamieField',
Read more
29 August, 2011
By Eileen
Filed under v3.4 and v4.0, Drupal

The transition to Drupal 7 is probably the biggest challenge this year for the Drupal community. As discussed in previous blogs the intention has been that 3.4 would be the last release supporting Drupal 6. Unfortunately many sites aren't ready to upgrade to Drupal 7. The hidden risk of this is that if a sizeable portion of CiviCRM sites are not using 4.1 then the number of people testing, fixing & enhancing 4.1 will be much reduced. The cost of not having a drupal 6 release is likely to be higher than the cost of having one - even for Drupal 7 and Joomla! sites.


One of the things we have looked for at the codesprint has been Tim Otten's suggestion of supporting Drupal 6 as a separate CMS (like Joomla! & WordPress). The good news is that we think that a Drupal 6 release for 4.1 is a realistic option. Of course resources will continue to be a problem so please commit to helping or...

Read more
25 August, 2011
By jamie
Filed under CiviCampaign, Drupal, Sprints

If you are running Drupal, the process of configuring CiviCampaign will be a lot easier with the 3.4.6 release. The CiviCRM Engage Drupal module has always provided an xml configuration file which, if imported, setup many default custom fields designed to make CiviCampaign really shine. Previously, the process for importing it required looking up your site key, the absolute unix path to an xml file on the server, and your Drupal username and password. These pieces had to then be combined into an extraordinarily long and error-prone URL which you had to place into your browser. And, you also had to create several contact subtypes and fiddle with several other CiviCRM configuration settings. Now - all of these steps are done automatically by simply enabling the Civicrm Engage module from within Drupal. Furthermore, Eileen has exposed a number of ways to configure the behavior of the Walklist and Phonelist reports in the upcoming release - including the ability to:

  • ...
Read more
24 August, 2011

In May, Giant Rabbit relaunched CompassPoint Nonprofit Services’ website and CRM, transitioning them away from a proprietary CMS and CRM to a Drupal/CiviCRM solution.  We came across a lot of unique requirements and challenges throughout the transition process.  This post will focus on one feature that required significant customizations to CiviCRM:  A multiple event registration shopping cart.


The Goal

CompassPoint offers a large selection of workshops and trainings for nonprofits throughout the year.  On their old proprietary platform, individuals were able to add events to a shopping cart and pay for them in a single transaction.  In addition to their workshop offerings, CompassPoint also organizes a number of conferences throughout the year, with each conference containing a number of sessions for the attendee...

Read more
13 August, 2011
Filed under CiviCRM, Drupal, Joomla

CiviCon London is only 1 week away which means it's time to draft a "State of the Project" presentation for the opening session. It's a good time to look up from our computer screens so we can think about and discuss goals for the next few years.

Our number one goal is to build a strong vibrant community which can sustain the project for a long time to come. We think this means folks from across the community participating in ALL aspects of the project, and the project becoming self-sustaining from a financial point of view. We are super-excited to see folks in the community taking on important tasks in lots of areas …

  • Organizing CiviCon and UK Code / Book sprints
  • API v3 team
  • Accounting system integration
  • Case studies / website redesign
  • Floss manuals book
  • CRM Idol marketing and coordination
  • Number of consulting providers and Civi-ASP's on the rise
  • Number of people...
Read more
09 June, 2011
By lobo
Filed under CiviCRM, Drupal, Joomla

In the past three weeks, we worked with a client to build scheduled email reminders for activities in CiviCRM. Detailed project specifications are on the wiki at ARMS Project Home. We've added the following new features to CiviCRM as part of this work:

  • We've extended Profile View/Edit to handle a combination of Contact + Activity + Custom Fields. Thus we can send a mailing with a link to a profile edit form and collect activity related details from the end user.
  • Coleman W integrated a similar set of changes for CiviCRM WebForm v2. He also incorporated a bunch of other changes in the v2 version including the ability to create multiple contacts and create an associated activity. The new v2 UI is quite spiffy
  • You can schedule a reminder email to be sent to a group of activities that meet a certain criteria. You...
Read more
08 June, 2011
Filed under Drupal

My UK based organisation the Association for Learning Technology launched a brand new web site on 20 April based on Drupal 6 and CiviCRM. We are very pleased indeed with the overall result and having all our membership process now running within a unified web-based environment we've been able to reduce transaction costs and give our individual and organisational members a much better service all round.

For a small charity like us, the development of the new site and transitioning across to it from our previous systsm was a major but very productive challenge; and we are now "set up" for the future.

Yesterday we held a review meeting with our hosting company Positive Internet and our developers Futurate. We considered a timetable for eventually migrating to Drupal 7 and concluded that we should plan this in late 2012 and probably do it in late...

Read more
06 June, 2011
Filed under API, Drupal, Extensions

Fans of Webform CiviCRM Integration will be happy to hear that version 2 is now available for testing. And if you're not already a fan of that module, this might put you over the edge.

With version 1, you were able to:

  • Create/update a single Individual via webform
  • Log a simple activity for that contact when the form was submitted
  • Allow the user to opt-in to groups
  • Tag contacts

Version 2 take that to a whole new level, giving you the ability to:

  • Expose a virtually unlimited number of contacts per webform (so your users can enter their entire family, team, etc. on a single form).
  • It handles any type of contact, and supports multiple addresses, emails, phones, websites, and custom fieldgroups per contact.
  • Create Relationships between the multiple contacts on the form!
  • It also exposes activity fields...
Read more
26 May, 2011
By lobo
Filed under CiviCRM, Drupal, Sprints

On Tuesday and Wednesday of this week we had the a CiviCRM Code Sprint in San Francisco. We had a total of 9 participants over 2 days: Arthur from the WikiMedia Foundation, Micah from Electronic Frontier Foundation, Coleman and Brylie from Woolman - Sierra Friends Center, Peter and Adam from Giant Rabbit, Stacy from elMobile and Dave and Lobo from CiviCRM. Here are a few things that we worked on during the sprint.

  • Peter from Giant Rabbit gave a demo of the CiviCRM install for Compass Point and specifically the event management system. One of the requirements was the ability to allow multiple people to sign up for multiple events at the same time. They developed a new drupal module that interfaces with CiviCRM event api and database. You can...
Read more
25 May, 2011
Filed under v3.4 and v4.0, CiviCRM, Drupal

CiviCRM versions 3.4.2 and 4.0.2 include a new feature allowing administrators to configure CiviCRM to use Drupal input formats along with their associated WYSIWYG profiles as the WYSIWYG editor. This provides some great benefits for users:

  • A consistent WYSIWYG experience for administrators who use both Drupal to work with content and CiviCRM
  • The ability to write and use Drupal input formats to process text in a way already familiar for lots of developers
  • When paired with a few other modules, a way to provide an integrated file browser and uploader right in the Wysiwyg editor when working with mailings, events, etc.

There's more complete documentation on the wiki, but I'll mention a few prereqs here. You'll need to have WYSIWYG API installed at a...

Read more