developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
494
results
Andrew Fletcher
•
When working with Drupal environments, there are times you need to duplicate a directory structure — for example, cloning a site or preparing a new environment without copying certain environment-specific folders.
A common case is excluding:
sites/default/filesThis directory typically contains:
User uploads
Generated image styles
Cached assets
Environment-specific permissions
Copying it between environments can cause permission issues, unnecessary bloat, or unintended data leakage.
This...
Andrew Fletcher
•
Upgrading from Drupal 10.6.x to 11.3.x is officially supported, but in real...
Andrew Fletcher
•
Organisations are rushing to build internal AI tools that let teams query their...
Andrew Fletcher
•
Building a resilient web server
Early in the year, we encountered a...
Andrew Fletcher
•
Across every industry, the operational risks of cyber threats are escalating....
Andrew Fletcher
•
When working with Git, the .gitignore file plays a critical role in controlling which files and folders are tracked by version control. Yet, many developers are unsure when changes to .gitignore take effect and how to manage files that are already being tracked. This uncertainty can lead to problems, particularly in large codebases.
Recently, while updating a project with a new .gitignore rule, an interesting error surfaced that sheds light on how to properly manage .gitignore changes — and how...
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
•
Introduction
Data extraction and filtering are crucial for developers working...
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
•
When deploying a Python project from a User Acceptance Testing (UAT) environment...
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...