October Drupal Blog Round-up

Posted onFriday, 31 October 2014byColin Shipton

Tagged withDrupal

Node Gallery: The Easiest Drupal Photo Gallery

Views is powerful, it is too complex for many users. For this reason, Node Gallery is still the easiest way to build a photo gallery in Drupal. It requires very little set-up and almost no configuration.

Drupal 8 Modules - A New World in Module Writing

This article will be more about the patterns you need to use during Drupal 8 development than how to fit the various pieces together. There’s good reason for this approach: fitting the pieces together has plenty of examples, change records, and whatnot – but many pieces of the puzzle are entirely new to Drupal developers.

Keeping Compiled CSS Out of your Git Repository on Acquia

After a harrowing cascade of git merge conflicts involving compiled css, we decided it was time to subscribe to the philosophy that compiled CSS doesn't belong in a git repository. Sure, there are other technical solutions teams are tossing around that try to handle merging more gracefully, but I was more intererested in simply keeping the CSS out of the repo in the first place.

Automating Drupal Configuration

Last month at the Central Denver Drupal meeting, Nick Switzer from Elevated Third showed how they are using a structured spreadsheet format for describing their Drupal configuration in a way that makes it easy to build. They based their spreadsheet format on a template Palantir published a while ago, and someone mentioned Lullabot has been using something similar. This looked to me a lot like what we were doing at Aten, even though we had missed the de facto standard that was developing.

Five Drupal modules you're probably missing out on

Here are five under-rated Drupal modules with less than 10,000 installs (at the time of writing!) which we use all the time.

Add Keyword Highlighting using Search API in Drupal 7

If you start with Search API from the beginning, then it's easier to customise later on. The core Search module, on the other hand, is easy to setup but hard to modify. Recently, I had to create a search page that highlighted the keywords in the results. If you search using a particular keyword, then the word is highlighted.

Drupal Migrate for Development Content

Drupal and many of the people who work with it are moving toward a configuration in code model of site development. One of the advantages of a config in code approach is that the code you add, share, and modify works for all the members of your team and across environments. Instead of everyone syncing databases (or passing around notes on how to update their environment because something changed), everything stays up-to-date with the latest code in your version control system. This essentially provides a known, common state for everyone to work against.

Drupal's Picture element and Image Field Focus for mobile images

I’ll show you how to use the Picture and Image Field Focus modules to crop images for display on desktop, tablet and mobile and make the lives of content creators easier. It means goodbye to preparing several images for optimum display across all devices and hello to just one image upload and smart image crop control.