Weblog aka "Blog"

Drupal 8: Override views row (views-view-fields.html.twig) in views style plugin

16.01.2019 - 14:59

In the last days I developed the ZURB Foundation Views integration module for Drupal 8. To match the markup required by foundation accordion we first had to write a views...

Drupal 7 redirect to fieldable-panels-panes after admin_menu Update

16.01.2019 - 12:24

Today I'd like to share a nasty bug I ran into when updating a customer Drupal 7 CMS project. We updated several modules, one of them was admin_menu (7.x-3.0-rc5 > 7.x-3.0-rc6).
The website also used the "fieldable_panels_panes" module.

Bug, Drupal 7

Drupal 8 Bug: The module standard does not exist. in Drupal\Core\Extension\ExtensionList->get()

15.01.2019 - 12:42

We just ran into the Drupal 8 CMS Error message:

Drupal 8 Bug: The module standard does not exist. in Drupal\Core\Extension\ExtensionList->get()...

Before our modifications to the IEF table

Snippet: Drupal 8 Commerce: Show SKU in product variation inline entity form table

23.10.2018 - 08:27

Today I'd like to share a little snippet with you on how to add or remove fields from the inline entity form line items table in a product edit form.

By default that inline entity form table contains

  • Weight
  • Product...

Use (jquery.)photoswipe as lightbox etc. alternative with link fallback

11.10.2018 - 08:48

Today I'd like to share a very simple trick which seems a bit underrepresentated in the documentation of jquery.photoswipe (built on Photoswipe): How...

Open Drupal 8 Webform in Modal

24.09.2018 - 09:46

Creating a webform modal is quite simple and straight forward in Drupal 8.

We only need the Webform module and some classes for the modal opening button:

  1. Download and...

Drupal 8: Load current entity from controller dynamically *updated*

29.08.2018 - 11:08

Today I'd like to discuss a little Drupal 8 snippet to dynamically load an entity from the controller by the current path.

This acts a bit like a Drupal 8 replacement for Drupal 7's...

Drupal 8 Webform: Prepopulate entity reference (select, radio, ...) with current entitiy / node ID via tokens

03.08.2018 - 10:13

Several times in the last months we had the requirement to prepopulate a Drupal 8 webform with a parent entity ID from the URL. For example we had forms to register for events which we embedded on the node page as paragraphs or blocks and wanted...

VSCode (Visual Studio code) mark dollar sign $ on double click

24.07.2018 - 18:20

Visual Studio Code is my new IDE love. It's simple, lightweight but brings great functionality.

One little problem was that when double-clicking a variable with a dollar-sighn ("$") (for example in PHP or JavaScript) not the whole $...

Drupal 8 views set exposed filter (default) programatically with auto-submit

27.06.2018 - 17:00

Setting a dynamic views exposed filter can be done via hook_form_FORM_ID_alter() regularly if it's just a prepopulation of the views exposed filter form.

But if you wish to immediately run the filters using better_exposed_filters auto-...

Drupal, Drupal 8, View
Syndicate content