September 6, 2010
For one of our clients, we are running a Drupal site with about a millions of nodes. Before launch, those nodes are imported from another database and then indexed into Apache SOLR. The total time to index all of these nodes in an empty SOLR instance is measured in days rather than hours or minutes.
A bit too long to do this import regularly. So me and my (XDebug) profiler delved into the Apache SOLR module code to look where we could...
- Drupalcon Copenhagen slides and a video!

I had a great time at Drupalcon Copenhagen! Thanks to everyone who made...
September 5, 2010
The video here is a short (14:00 min) summary of the upgrade of himerus.com to Drupal 7, and also a quick look into...
September 4, 2010
I was recently trying to figure out exactly how long my users' sessions were lasting on an existing Drupal site that I had built. Generally it seemed like users were remaining logged in for an extremely lengthy period of time. I did some research and finally discovered that this setting is actually configured in the default settings.php file that ships with Drupal. There's a line in the settings file that initially reads:
ini_set('session.cookie_lifetime', ...
September 3, 2010
You have to agree that Drupal admin screens can be pretty gnarly to interact with. If you want a better looking Modules listing page and if you want a tidier node add and node edit form... Then read on and watch the video at the end.
OK. I Pride myself on being HIPP and knowing about the newest modules and the coolest modules. I can not explain how I missed the MODULE FILTER module.
...
Late in the code sprint the last day of DrupalCON in Copenhagen, there was a lot of discussion going on about the upgrade path in Drupal 7. Questions of how to handle certain aspects of the process and prevent horrible flaming death when upgrading a site and its contrib modules. Upgrade processes, much like data migration, often become a sticky problem. Right now that stickiness has literally stuck the release of Drupal 7.
Regardless of the release status, folks are starting to...
- How to create presentations that entertain & inform.
I had the opportunity to present to a local organization in Salt Lake City on the techniques Lullabot uses for making kick...
I had a case where CCK nodereference wasn't populating the view field in the array, so I had to check to see if it was empty and then manually populate it.
I leave this code as a gift to posterity.
- Fri, Sep 3, 2010 by Brandon Tate
Building a website I recently ran into an issue where I had HTML search facets interacting with Drupal views. The user would click on the facet and it would filter the view depending on the argument. I ended up implementing hook_views_query_alter. To make sure the values I wanted to filter on were in the view, I added the search facets into the view as fields. This automatically joins the necessary tables so that you don’t have...