developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
159
results
Andrew Fletcher
•
Upgrading from Drupal 10.6.x to 11.3.x is officially supported, but in real projects it’s rarely a single command. The friction usually comes from **Composer constraints**, not Drupal itself.
This article documents a real-world upgrade path from Drupal 10.6.1 → 11.3.2, including the specific blockers encountered and the sequence of steps that ultimately worked.
The environment:
PHP 8.4
Composer 2.9
DDEV
A site with non-trivial contrib and admin tooling (Gin, vendor hardening, core dev...
Andrew Fletcher
•
When working with Git, the .gitignore file plays a critical role in controlling...
Andrew Fletcher
•
Upgrading to Drupal 10.4+ you might have noticed a warning in their code editor...
Andrew Fletcher
•
The upgrade from PHP 8.3.14 to PHP 8.4.4 presents challenges for Drupal 10.4...
Andrew Fletcher
•
Duplicate records in Drupal can cause significant issues, particularly when they...
Andrew Fletcher
•
When working on Drupal migrations, developers often assume that adding a new field to the process section will seamlessly update existing content. However, unless explicitly handled, Drupal’s migration system does not automatically apply changes to previously migrated records. This oversight can lead to data inconsistencies, incomplete content structures, and potential frustrations for both developers and stakeholders.
In large-scale Drupal implementations, especially those involving external...
Andrew Fletcher
•
The Drupal theme configuration has undergone recent changes made to the Webpack...
Andrew Fletcher
•
Accessibility is a fundamental aspect that ensures experiences are inclusive for...
Andrew Fletcher
•
Occasionally, a Drupal site may display a warning about a module being "Missing...
Andrew Fletcher
•
The release of Drupal 10.4.0 sees stricter validation rules being applied to...
Andrew Fletcher
•
Observing colleagues work with Drush, it’s clear they have the basics down pat. Recently, I conducted a crash course in upskilling like a pro. Moving beyond the frequent commands many have already mastered, such as:
drush cr
drush updb
drush statusThese commands are fantastic for quick tasks like clearing caches, running database updates, or checking site status. Yet, to truly take control of your environment, it’s worth expanding your knowledge of Drush and logs.
When working with Drupal,...
Andrew Fletcher
•
If you’re running a website on Drupal 10.x or 11.x, you might encounter a...
Andrew Fletcher
•
Introduction
For a while now, one persistent issue has been bugging me: a...
Andrew Fletcher
•
When working on Drupal projects, especially in a collaborative environment, it’s...
Andrew Fletcher
•
Recently, I encountered an issue where my local Docker environment refused to...