CiviCRM Views 2 integration with a remote CiviCRM database

Note: This is an outdated, unmaintained, archived post. Proceed with caution. The Views integration module released with CiviCRM as of version 2.2.8 works best if your CiviCRM and Drupal databases reside on the same server and are accessible by the same username and password. However, there are cases when this will not be so: Your CiviCRM


Linux: Remove all empty files from a directory

One-liner to remove all empty files from a directory: % ls -s | grep -e ‘^ 0′ | sed ‘s/^…//’ | xargs -n1 rm -v Or these two, suggested by Jameson Williams on the Portland Linux/Unix Group (http://www.pdxlinux.org/): 1. find . -empty -maxdepth 1 -delete 2. find * -prune -empty -exec rm {}\;


Problems and Solutions to Problems: Views 2, CiviCRM, and Drupal 6

The following is a quick run-down of problems you might run into using Views 2 integration with CiviCRM 2.2.3 and Drupal 6 (or higher): Update (11/20/2011): This is an outdated, unmaintained post. Proceed with caution. Update (12/24/09): I recently added a new issue to this list, after updating a site to Drupal 6.15: CCK fields


Vim for Thunderbird: Muttator extension External Editor extension

In my quest for the Holy Grail of daily Internet use (IE, how to get vim-style keybindings and modular editing with everything), I finally — at 6 a.m. this morning — was delivered. Update (11/28/2011): This post is out of date and no longer maintained. Here are the steps I suggest as a method for recovering


Even Better GNU Screen

GNU Screen is one of my favorite applications because of its simplicity and usefulness. And, as a fairly new user, I am constantly discovering features and awesome ways to interface it with my systems. Following are some tips and links I’ve picked up that have vastly improved my screen experience, including how to save region


CiviCRM 2.2.3: Fatal error in custom code after upgrade

The upgrade to CiviCRM 2.2.3 changed the sequence of data returned by the civicrm_contact_get() function in api/v2/Contact.php. If you’ve written any code against the CiviCRM API that uses this function, then 2.2.3 will probably break it. Errors will likely show up anywhere that you depend on the array returned by civicrm_contact_get(). You will need to