Weblog aka "Blog"

gtag.js Conversion Tracking in Drupal 7

How to track Google Ads conversions in Drupal (gtag.js) on specific pages

17.04.2019 - 17:20

My Drupal pro tip today only concerns Drupal 7 (sadly), because the tracking_code module is not available for Drupal 8 currently.

My little task was to add a Google Ads conversion...

Drupal 8 Media: Format file size output / display

04.04.2019 - 12:19

If you'd like to output Drupal 8 Media file size (mapper field) output in human-readable format, this snippet may help you!

in MYTHEME.theme file:

...

Drupal 8 Backup-Migrate running into out-of-memory Error? A large key_value_expire table may be the cause!

03.04.2019 - 11:32

On a customer page we were running into problems with backup_migrate aborting with out of memory errors. In contrast to other similar websites we found out that a bug ([#2931611]) in the honeypot module caused the key_value_expire...

Drupal 8 on-demand error display with disabled cache via URL Parameter

04.03.2019 - 13:35

Have you ever wanted to disable Drupal 8 cache and enable error reporting only for a specific page or to quickly debug a problem?
Here's a simple solution how to enable debugging and disable caching for a single call using a URL debug...

Drupal 7 / 8: Lightweight set / exchange domain specific front page (e.g. for landingpages)

21.02.2019 - 13:20

Would you like to create a Landingpage for a specific topic in Drupal 7 / 8 on a separate landingpage domain (https://www.my-landingpage-...

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

16.01.2019 - 15: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 - 13: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 - 13: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 - 09: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 - 09: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...

Syndicate content