On a Drupal 7 site, I recently solved the problem of sorting search results by distance when the things searched for have multiple locations. Since no Drupal module seems to provide this functionality, I thought I should share my solution. An important acknowledgement: Jeff Geerling’s post, Multi-value spatial search with Solr 4.x and Drupal 7, was […]
For Developers
Other Topics
Drupal 7: Refining a faceted search with an exposed filter: SOLVED
You can build very powerful search tools in Drupal. We recently used the Search API, Facet API and Views modules to build a nifty faceted search that also does full text searches, all backed by a SOLR server. The search page itself was built as a view, based on a Search API index with an […]
Multi-user Debugging with Xdebug, DBGp and PHPStorm
By way of background, Xdebug is a debugger for PHP. It works really well with PHPStorm, our present programming editor of choice, and it is incredibly handy for any PHP web developer. Setting up Xdebug to work for one developer at a time is reasonably easy, and I’ve been using it that way for a […]
Drupal 7: Using SQL Expressions in Views 3
TLDR: It’s not that hard to get Views to show the results of SQL expressions as if they were normal field values. Using SQL expressions pulls results from the database faster, more effectively, and more safely than using the Views PHP or Computed Fields modules. By way of background, we’ve been working pretty hard on […]
I Love Sass! A Super Quick Intro for Newcomers
As a web developer, I struggle almost daily to subdue my panic over the latest shiny new toy I’m supposed to be heralding. And as I breathe deeply and tell myself to stay calm, I try particularly hard not to obsess over how every other developer manages to learn to use these new toys and still find time to put in a […]
Drupal 7: Debugging a broken field group
We managed to break part of a Drupal 7 site the other day (in this instance Drupal 7.31). That’s not new. But for the first time, we actually had to edit the database by hand to fix the problem. That was new, and I thought I’d share the experience, and our solution, for the benefit […]
Netbeans v. Sublimetext: an experiment
Summary: I’ve used versions 6 and 7 of the NetBeans IDE for a long time. I like NetBeans, but it feels slow and clunky. So I decided to give SublimeText2 a try. I used SublimeText2 exclusively for two weeks, doing some relatively heavy PHP development work for a Drupal project. At the end of two […]