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 tracking on a customer page. Google Ads uses gtag.js.
If you'd like to output Drupal 8 Media file size (mapper field) output in human-readable format, this snippet may help you!
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 database table to grow up to 2,3 GB of (useless) data. This bug in detail is being targeted in this issue: [#2997609]
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 parameter
Would you like to create a Landingpage for a specific topic in Drupal 7 / 8 on a separate landingpage domain (https://www.my-landingpage-example123.com/) as specific frontpage without using complex modules like Domain Access or multisite? Then here's the lighweight way to go for you!
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 style plugin in our module.
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.
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: Download and install https://www.drupal.org/project/webform Create a webform