Recent Blog Posts

Thoughts on the Acquia Certified Developer - Drupal 8 Exam

Another year, another Acquia Certification exam...

Acquia Certified Developer - Drupal 8 Exam Badge 2016

I'm at DrupalCon New Orleans, the first North American DrupalCon since the release of Drupal 8. In addition, this is the first DrupalCon where the Acquia Certified Developer - Drupal 8 Exam is being offered, so I decided to swing by the certification center (it's on the 3rd floor of the convention center, in case you want to take any of the certification exams this week!) and take it.

Set up a faceted Apache Solr search page on Drupal 8 with Search API Solr and Facets

In Drupal 8, Search API Solr is the consolidated successor to both the Apache Solr Search and Search API Solr modules in Drupal 7. I thought I'd document the process of setting up the module on a Drupal 8 site, connecting to an Apache Solr search server, and configuring a search index and search results page with search facets, since the process has changed slightly from Drupal 7.

Install the Drupal modules

In Drupal 8, since Composer is now a de-facto standard for including external PHP libraries, the Search API Solr module doesn't actually include the Solarium code in the module's repository. So you can't just download the module off Drupal.org, drag it into your codebase, and enable it. You have to first ensure all the module's dependencies are installed via Composer. There are two ways that I recommend for doing this (both are documented in the module's issue: Keep Solarium managed via composer and improve documentation):

Latest DIY project: Fireplace/Chimney removal for a nicer living room

Every year, my wife and I try to tackle one or two large projects to improve our house and make it a more functional space for our growing family. This year, we decided to remove a giant brick chimney/fireplace that took up 30 square ft. of floor space both in the basement and on the main floor. With the regained space, we installed a TV/media center on the wall that had the fireplace, and arranged the room to have more seating so we could do more family activities in the room.

Here's a picture of what the room looked like with an old brick fireplace (it was wood-burning, but had been converted to gas logs prior to our purchase of the home):

Fireplace and brick chimney DIY removal picture - before

Migrate a custom JSON feed in Drupal 8 with Migrate Source JSON

June 2016 Update: Times change fast! Already, the migrate_source_json module mentioned in the post has been (mostly) merged directly into the migrate_plus module, so if you're building a new migration now, you should use the migrate_plus JSON plugin if at all possible. See Mike Ryan's blog post Drupal 8 plugins for XML and JSON migrations for more info.

Recently I needed to migrate a small set of content into a Drupal 8 site from a JSON feed, and since documentation for this particular scenario is slightly thin, I decided I'd post the entire process here.

I was given a JSON feed available over the public URL http://www.example.com/api/products.json which looked something like:

Pages

Subscribe to Jeff Geerling's Blog