Herzlich Willkommen ツ

Google Search Console mobile 404 errors for non-existing pages

23.01.2017 - 12:22

In the last days we had the situation that a website reported 404 mobile URLS that were neither ever existing nor used anywhere. These URLs seemed to be wrongly generated ghost URLs by Google.

Drupal 7: Ensure HOOK_node_view is not called by search indexing

22.11.2016 - 14:34

When using HOOK_node_view() you should take care because when the search (Search API especially) is indexing, this hook is also being called. You can not rely on a user displaying the node display currently. Here's a way to ensure this...

  1. function MYMODULE_node_view($node, $view_mode, $langcode) {
  2.   if ($view_mode != 'full' || arg(0) != 'node') {

Linktipp: Create custom fields in Drupal 8

10.11.2016 - 21:29

Guide on how to create custom field types in Drupal 8

Drupal 8 Entity reference blocks: restricted access (Eingeschränkter Zugriff)

31.10.2016 - 11:04

You're referencing a Drupal 8 block via block reference but after saving the entity reference input field says "restricted access" (German: "Eingeschränkter Zugriff")? That's simple to solve... and "works as designed".

Applying and maintaining Drupal patches efficiently

09.08.2016 - 17:54

As Drupal developer you have to mess around with patches sometimes. Some of you might use Drupal module to manage their patches, some may use Git. Others may handle patches manually (which is the worst solution).

JTL-WaWi 1.x Druckvorlagen Langtext Zeilenabstände / Zeilenumbrüche zu groß

31.05.2016 - 11:11

Wenn ihr auch die JTL-WaWi einsetzt und in Euren Druckvorlagen z.B. den Artikel-Langtext ausgeben möchtet, seid ihr vielleicht auf das gleiche Problem gestoßen wie ich: Die Zeilenumbrüche der Textvariable werden immer wie ein Absatz behandelt und es scheint keine Möglichkeit zu geben, einen einfachen Umbruch zu erzielen. Dadurch ist der Zeilenabstand auch bei "0" extrem groß. Aber es gibt eine einfache Lösung ...

Fix empty DFP iframes on responsive websites due to illegal repositioning

01.04.2016 - 10:11

Today I'd like to share a recent problem we had in a Drupal project where we were using dfp.module.

We were wondering that from time to time DFP ads were disappearing on some positions.

Moving ads parents containers is the reason

Apache Cordova InAppBrowser optimize (external / whatsapp / other protocols) link behaviour

30.03.2016 - 22:38

Today I'd like to share my results on a good link behaviour in Apache Cordova's (5.x in my case) link behaviour using the InAppBrowser Plugin.


First of all the cordova plugins I'm using:

  1. <gap:plugin name="cordova-plugin-inappbrowser" version="1.3.0" source="npm" />
  2. <gap:plugin name="cordova-plugin-statusbar" source="npm" />

Drupal 7 Services 3 Session Authentication with CSRF Token

14.03.2016 - 19:22

I really had a bad hour figuring out how Drupal services.module (Version 3.x) session authentication works. The documentation is poor and there are several issues stating out problems.

Finally I was able to find a way out of the Service REST jungle and I'd like to share the results with you (and myself for the future) if we should ever run into the same problems again.

Inhalt abgleichen