Get our Newsletter






Debug Solr queries

Solr is great! When you have a site even with not so much content and you want to have a full text search, then using Solr as a search engine will improve a lot the speed of the search itself and the accuracy of the results. But, as most of the times happen, all the good things also come with a drawback too. In this case, we talk about a new system which our web application will communicate to. This means that, even if the system is pretty good by default, you have to be able in some cases to understand more deeply how the system works.This means that, besides being able to configure the system, you have to know how you can debug it. We'll see in the following how we can debug the Solr queries which our applications use for searching, but first let’s think of a concrete example when we need to debug a query.

June 30, 2015
5

Creating nested lists with panelizer and view panes

For one of our customer projects, we wanted to have a list with all past projects. There are two types of projects selected among applicants every year: a winner and there are several finalists or runner ups.

The idea was to show the winner of each year followed by the finalists/runner ups of the year. This should be done in a list where the actual year is the top one followed by the others.

June 25, 2015
When
Where
Zurich

DrupalCon Los Angeles - Day 1: Dawn of the Drupalistas

Yesterday, just shortly after the sun sprung up and sparked southern California’s beautiful coastal lines, the doors of LA’s Convention Center opened. Welcoming with it, a first wave of eager Drupalistas and surrounding them by its air conditioned walls. And for the subsequent days that are surely to follow, it will continue to receive and house those, transforming it, to the home of DrupalCon 2015.

May 12, 2015
1

Drupal 7 total language fallback

Reasons for language fallback

Let's assume you have a website divided by countries. The site structure is:

  • Global (en, de, fr)
  • Germany (de)
  • France (fr)
  • Switzerland (de, fr)

You have your content translated to three languages. Normally, this works, but there could be cases when you need languages per country. Words might have a slightly different meaning from country to country (examples) or spelling might be different (en-US vs en-GB, or using "ß" in de-DE vs "ss" in de-CH). Or, for example, the "Contact us" page can contain a country specific information - locations.

So, the site structure can be turned to:

  • Global (en, de, fr)
  • Germany (de-DE)
  • France (fr-FR)
  • Switzerland (de-CH, fr-CH)

This can bring a translation nightmare until you have a language fallback ;)

Languages

Having the language fallback, you would only translate strings/content to the "base" languages and, in special cases, you may also translate to "country" languages.

Fortunately, there is a module for that. The Language fallback.

April 28, 2015
5

Drupal Developer Days 2015 in Montpellier

Last week, a few coworkers and I went to the Drupal Developer Days in Montpellier. With the main focus being on sprints, contribution to core and on pushing the release of Drupal 8 forward, the Dev Days are a great event for drupalistas to meet the community, share knowledge and work on Drupal.

The DDD was the best drupal related event I’ve been to so far. Its relative small number of attendees - about 300 instead of the 2000+ that attend the european DrupalCons - made it effortless to meet new people. The event was well organised, with good infrastructure and freshly cooked meals every day.

As a site builder interested in contributing more to the community I started the first sprint day in the mentoring sprints learning the best practices for contributing to Drupal. I was surprised at the kindness and patience from the mentors who spend all their time making new members feel welcome at the expense of having fun with their own code and projects.

April 23, 2015
1