Weblog aka "Blog"

Drupal 8: Looping through EntityReferenceItem(s) / EntityReferenceRevisionsItem(s) to get Target Entities is wrong

17.11.2017 - 10:11

I just had the case to iterate over EntityReferenceRevisionsItem's which are similar to EntityReferenceItem to get the target entities,

My code snippet was (WRONG EXAMPLE):

...

Drupal 8 solving composer problems like "Can only install one of ..."

05.10.2017 - 10:10

I've been running into problems with composer several times now in combination with Drupal 8 projects. This blog post shares my problem solving solutions.

"Can only install one of ..." when updating...

FIX: VMWare Workstation: Touch Scroll with Synaptics Touchpad not working in Ubuntu virtual machine on Windows 10 host

07.06.2017 - 10:08

Recently I ran into the issue that touch scrolling on my virtual development machine did not work at all.

Typically I'm using a mouse with scroll wheel but on vacation I'm using the touchpad.

My hard / software environment:

...

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...

...

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...

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).

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...

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.

Context:

First of all the cordova plugins I'm using:

...

Syndicate content