Migrating Content Translated with "Content Translation" from Drupal 7 to Drupal 8

Learn how to migrate translated content from Drupal 7 to Drupal 8. This tutorial is about migrating translations created with the Content Translation module.

Lire la suite »

Migrating Content Translated with "Entity Translation" from Drupal 7 to Drupal 8

Since the release of Drupal 8 with a standardized way of managing translations, many sites running Drupal 7 are making a switch to Drupal 8. In Drupal 7 there are two ways to translate content:

Lire la suite »

How to Integrate Material Design with Drupal

If you are a web designer, chances are you have heard about Material Design.

Material Design is a popular "design language" developed by Google that came out in June 2014. Since then, it has kind of become the visual identity of most of Google's mobile applications for Android. Many mobile app developers are using it and the approval rate among web designers is also rising, mostly because of its simplicity and the influence of mobile apps on responsive design.

Lire la suite »

Custom Views Sort Plugin for Upcoming Events

This week, our client came up with a seemingly simple request that turned out not so simple: When listing events, they want to show upcoming events before past ones. Not only that, they also want events nearest the current day to show up first. But with a bit of thinking and a custom views sort plugin, this turned out quite easy!

Lire la suite »

Improving Drupal Speed with blackfire.io (Part 1)

Drupal core is pretty well optimized. But after you've finished building your Drupal 7 or 8 site, you might find some pages are loading slower than you'd like. That's not surprising—you've probably enabled scores of contrib modules, written custom code, and are running over 100 SQL queries per uncached request.

Lire la suite »

Migrate for Site Builders: Getting Your Content into Drupal

This post is based on a talk I gave at DrupalCon Barcelona and this year at MidCamp. You can see a video version of the talk below.

Lire la suite »

Parallelized web scraping using RollingCurl

The web is full of information! Your web sites probably already use many APIs for maps, Twitter, IP geolocation, and more. But what about data that's on the web, but doesn't have a readily available API?

Lire la suite »

Iterating over trees in PHP

As a good Drupal developer, one of your New Year's resolutions should be to learn more PHP features. Today, we'll talk about iterating over tree-structured data using the awkwardly-named class RecursiveIteratorIterator.

Lire la suite »