14 June, 2009
By lobo
Filed under v2.2, CiviCRM, Drupal
Over the past few releases we've been drinking a fair amount of the hook kool-aid. This has proven to be super effective and gets around the problem of hacking the core files, but still allow a developer to extend the functionality of the system in minor/major ways. We've used hooks also to implement event discounts and contribution/event tracking. This week on IRC we had a few more questions which were effectively solved using hooks.

How do you delete a contact when a drupal user is deleted

Tom (http://www.kirkdesigns.co.uk/) wanted to delete the civicrm contact if the drupal user was deleted. The solution was to implement hook_user that gets called before... Read more
08 June, 2009
By lobo
Filed under v2.2, CiviCRM, Drupal, Joomla

On a daily basis, we get quite a few interesting bugs / feature requests either via the IRC Channel or via the forums.

We figured that blogging about these requests will be of general interest (inspired by Acquia's S-Files blog). Here are a couple of things that have come up the past few weeks.

  • IRC user proverse (David H) reported some strange interaction between export, contact View/Edit and the caching system. I spent a fair amount of time logged onto his system and tracing the behavior. It finally came down to over-running a mysql database 'text' field (in civicrm_cache) table. Along the way i also hardened some of the export code. You can track the issue and patches CRM-4571. A similar issue bit us...
Read more
29 May, 2009
Filed under v2.2, CiviCRM
The team has released version 2.2.5 with approximately 31 bug fixes and improvements. Notable fixes and improvements include:
  • Discount Support for Online Event Registration using hooks (more)
  • Enable Joomla / Standalone to use the mighty power of hooks
You can review a complete list of 2.2.5 changes on the issue tracker.  

Download

You can download CiviCRM 2.2.5 at our download page. Select from the civicrm-stable section. The filenames include the 2.2.5 label: civicrm-2.2.…. Be sure and download the correct version for your CMS (Drupal / Joomla! / Standalone).  

New 2.2.5 Installations

If you are installing CiviCRM 2.... Read more
28 May, 2009
By kurund
Filed under v2.2, CiviCRM, Drupal, Joomla

This release has been superceded by release 2.2.5 due to a critical bug in the Event Registration process. If you have downloaded this release, please replace it with 2.2.5.

  The team has released version 2.2.4 with approximately 30 bug fixes and improvements. Notable fixes and improvements include:
  • Discount Support for Online Event Registration using hooks (more)
  • Enable Joomla / Standalone to use the mighty power of hooks
You can review a complete list of 2.2.4 changes on the issue tracker.  

Download

You can download CiviCRM 2.2.4 at our download page. Select from the civicrm-stable... Read more
26 May, 2009
By rczamor
Filed under CiviMail, v2.2, CiviCRM, Drupal

Trellon has been working on a fairly large implementation of CiviCRM for an advocacy group based in DC that was seeking to implement a CRM system that will help them manage their online fundraising and email marketing program. Email marketing is a large part of the organization's outreach strategy, so having a mail system that can deliver their 50,000+ emails in a short amount of time was a necessity.

We explored methods for optimizing CiviMail and decided to follow recommendations made by Lobo on the CiviCRM wiki. We set up the client mail and database server on a dedicated server with an Intel 2 Quad Core 2Ghz processor, 16GB of RAM, and 70 GB of disk space. We wrote some custom scripts to batch emails over to the mail server on cron to increase delivery speeds as well.

We have been able to get some really good times on delivery...

Read more
21 May, 2009
Filed under v2.2, CiviCRM, Drupal

A Make It Happen to move this into core for CiviCRM is currently running for v4.1. You can help make it happen by contributing here

Discounting events has been requested on the forums a few times. It also popped up both on IRC yesterday and was also needed on civicrm.org for our upcoming UK Training Camp. We decided to see if we could implement this via hooks and minimal / no changes to the core code. Turned out we can implement this this feature using three civicrm hooks and a helper fuction. We improved the core a wee bit by allowing the buildForm hook to inform the tpl system of any form elements added. The tpl then places these form elements at the top of the form. An event can have zero or more coupons. Coupons for an event are stored in the option group / value table. Each coupon code is a string (chosen by admin) and can...

Read more
16 May, 2009
By lobo
Filed under v2.2, CiviCRM
One of the common needs of a contribution or event registration system is to track what campaign that transaction is destined from and what link originated the transaction. This allows organizations to calculate what links / web sites / advertising / mailings are most effective and use that information to influence their current or future campaigns. Some organizations (e.g. wikimedia foundation) use a three level tracking scheme: Campaign, Appeal and Fund, while other organizations might choose to use only one tracking field. This issue came up at the San Francisco developer camp. There is no built-in support for this in CiviContribute or CiviEvent. However we can accomplish something very similar using a combination of custom fields, populating fields via a GET url and a civicrm buildForm hook. We've made some changes to v2.2.4 to make it easier. Here is the recipe for tracking either a contribution or event registration page.
  1. Create a custom group called "Contribution...
Read more
14 May, 2009
By kurund
Filed under v2.2, CiviCRM, Drupal, Joomla

The team has released version 2.2.3 with approximately 84 bug fixes and improvements. Notable fixes and improvements include:

  • Multi-currency support (more)
  • CiviCase Improvements (more)
  • Ability to display CiviCRM events in Drupal Calendar (more)

You can review a complete list of 2.2.3 changes on the issue tracker.

 

Download

You can download CiviCRM 2.2.3 at our download page. Select from the civicrm-stable section. The filenames include the 2.2.3 label: civicrm-2.2.…...

Read more
08 May, 2009
By lobo
One of the reported shortcomings of CiviCRM has been the perceived "lack of reporting functionality". This is true to a large extent, but our hope was that most folks would either use
  • Traditional reporting solutions: BIRT, Jasper Reports and/or Crystal Reports. We demoed an integration with BIRT a few releases back, but this did not get any traction. There are a couple of larger deployments that have built custom reports using BIRT and Jasper.
  • Views2 and CiviCRM integration. However the lack of grouping / sub-total functionality has prevented this from being a complete reporting solution. This is also a drupal only solution
  • Custom Drupal modules / Joomla components. Quite a few folks have gone down this path, but there has not been a lot of sharing of these reports within the community
Based on the success of Custom Search, we decided that shipping CiviCRM with a few good... Read more
05 May, 2009
By lobo
Filed under v2.2, CiviCRM, Drupal
The CiviCRM team is planning to hold a UK and Europe developer camp and user meetup in the last week of June 23-27 (if you are interested in attending, please do take this survey.) A couple of months ago, we decided to run CiviCRM on the civicrm.org servers. Eating your own dog food does spur quite a bit of changes and tweaks to make the product a lot more usable :). For the event in the UK, we needed to accept payment in either euros or pounds. However we do not have multi-currency support within CiviEvent :( Once again, Drupal hooks and custom templates to the rescue. I implemented two hooks, the buildForm hook to set the currency in the config object
function civicrm_civicrm_buildForm( $formName,...
Read more