drupal
-
Drupal 10: Fully local, open source Drupal AI setup, part 1: Search API
I describe a Drupal AI setup based on open source tools and running locally. The use case is to provide search results based on natural language queries using the Search API ecosystem. The constraint is to avoid communicating with external APIs and rely only on services that are co-located with...
-
Drupal 10: Fix AJAX-related error with Views exposed forms
Enabling AJAX callbacks on Views exposed forms causes a cryptic error that "the uploaded file likely exceeded the maximum file size". In this post, I explain why this happens, and present a functioning workaround.
-
Drupal 10: Fix Views Reset button with Big Pipe
Big Pipe on Drupal 9+ breaks form redirects. In this post, I explain how I fixed it for a specific but common case.
-
Drupal 10: From cookies to user sessions
In this post, I show a script that relates user cookies to Drupal session information.
-
Drupal 9: Troubleshooting Cache API issues, Part 1: Xdebug, wodby/drupal, VS Code
In this post, I explain how to configure Xdebug with VS Code in the context of deep Drupal debugging.
-
Drupal 9: Backup and Migrate - Drush 11 support
Supporting content migrations across stages is a tricky subject, and most tools I reviewed seemed too fragile or too complex to be delivered to a client. We opted to use a simple workflow based on BAM (Backup and Migrate) coupled with config re-synchronization. To help automate...
-
Drupal 9: Fixing Google Charts rendering in tabbed pages
Google Charts has a long-standing, known issue rendering correctly in hidden divs. This caused us much head scratching and debugging hours before we even landed on the correct diagnosis: a chart that renders correctly on the Charts API Example page does not...
-
Drupal 9: Backup and Migrate - PostgreSQL support
I was suprised this hadn’t been already done, so I added PostgreSQL support to the venerable Backup and Migrate (BAM) module. Instead of previous patches that implemented SQL generation and parsing manually, I opted for the much simpler and (imho) more robust approach of invoking the...
-
Drupal 9: Showing an export link for each manually updated config item
The Configuration API is by far the best surprise I got about Drupal 9. Finally, a core system that is robust enough to hold any configuration set reliably, and extensible enough for contrib modules. Back in Drupal 7, maintaining a consistent configuration across stages had been...
-
Still Drupal after all these years
I thought I was done with Drupal in 2016 when we rebuilt Meedan’s fact-checking platform, Check, using Ruby / React. It felt like a breath of fresh air to decouple the frontend from the backend, and further subdivide the application into a set of services that...