Herzlich Willkommen ツ

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

05.10.2017 - 11: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

In many cases this can be resolved by clearing all folders from the "venor" directory and running

Drupal Addressfield Länder Kürzel Liste (z.B. für Feeds Import)

25.07.2017 - 11:13

Falls ihr auch einmal Adressen via Feeds importieren möchtet, benötigt ihr für das Land im Addressfield sicher das Länderkürzel.

Nachfolgend findet ihr eine Deutsche Liste der vom Addressfield verwendeten Kürzel, die vermutlich dem ISO Standard entsprechen:

  • AF Afghanistan
  • AL Albanien
  • DZ Algerien
  • UM Amerikanisch-Ozeanien

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

07.06.2017 - 11: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:

  1. HP Elitebook 8460p Notebook
  2. with Synaptics PS/2 Port TouchPad (latest drivers)
  3. Windows 10 Pro

JTL-Shop4: SSL / https via Datenbank deaktivieren (Migration)

11.04.2017 - 14:17

Heute ein kleiner Tipp für JTL-Shop4 Administratoren: Falls ihr im Rahmen einer Migration die Einstellung für SSL direkt in der Datenbank (+ ggf. .htaccess bedenkden!) deaktivieren müsst, geht das mit folgendem Befehl:

UPDATE `teinstellungen` SET cWert = 'N' WHERE `cName` LIKE 'kaufabwicklung_ssl_nutzen'

Der Wert für "Permanent" ist hier z.B. "P".

Google Search Console mobile 404 errors for non-existing pages

23.01.2017 - 13: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 - 15: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 - 22: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 - 12: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".

Inhalt abgleichen