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
158
results
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
•
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...
Andrew Fletcher
•
The Drupal theme configuration has undergone recent changes made to the Webpack configuration, SCSS and JavaScript handling, and automation of updates to the orw.libraries.yml file in the custom Drupal theme. These changes are designed to improve the build process, enhance maintainability, and streamline development for other developers working on this theme.
Overview of changes
1. Webpack improvements
Consolidated the Webpack configuration to handle SCSS and JS files...
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....
Andrew Fletcher
•
If you’re running a website on Drupal 10.x or 11.x, you might encounter a warning like this in your logs:
> "Warning: filemtime(): stat failed for sites/default/files/php/twig/67312f8c6d7ee_paragraph.html.twig_oBJkUYn5Hj1Gltpsh3AXvAcSC/ErOs4_HSnzbWqmYFWDDuM3htp2ANqUUtX84lTbfu2Bg.php in Drupal\Component\PhpStorage\MTimeProtectedFileStorage->checkFile() (line 63 of core/lib/Drupal/Component/PhpStorage/MTimeProtectedFileStorage.php)."Don’t worry – it’s just Drupal’s way of saying, “Hey, I...
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...
Andrew Fletcher
•
The issue – I have a content type that includes an entity reference revisions...