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
169
results
Andrew Fletcher
•
On most of the sites I'm running the Google analytics ID is appearing. Therefore, tracking and capturing data. All except one!
Discovering where Google ID and Google Tag ID were on a client's site... or not in this situation. Yes that's correct, for some reason the analytics IDs aren't appearing. Zip, zero... nothing.
Looking on this site, Google tag Manager positions the tag ID in the following lines of code
<link rel="stylesheet" media="all"...
Andrew Fletcher
•
How to set the Private file path in Drupal using the following steps:
Create a...
Andrew Fletcher
•
Using Composer to Manage Projects and if required their dependencies
In this...
Andrew Fletcher
•
If your Composer project doesn't have Drush listed as a dependency, you can...
Andrew Fletcher
•
Using CK Editor 5, I needed to add instructions to a page that held FontAwesome...
Andrew Fletcher
•
I've been working on a problem where a font and image tag aren't appearing on the front end of my website. I found that if I disable CSS aggregation, the YouTube play button symbol and overlay will appear. However, this slows down the page speed.
How to leverage CSS aggregation but set specific files to be excluded?
I'm wondering how to leverage CSS aggregation but exclude specific files. Here's an example of what my theme libraries file looks like:
global-styling:
version: 1.x
header:...
Andrew Fletcher
•
In a site I'm working at the moment, we need to download high resolution images...
Andrew Fletcher
•
Whilst attempting to download the latest config.zip file for Solr, I was greeted...
Andrew Fletcher
•
Having a situation where I'm running a sub theme based on Bootstrap Barrio, but...
Andrew Fletcher
•
This guide has been compiled as a reference tool on how to access field values...
Andrew Fletcher
•
Running Docker, I deleted the images and containers they had been built to date. Time to refresh the environment and see what works and what isn't working. This action was a result of the dev environment failing to load.
Current versions
The PHP version is 8.1.12 apache 2.4.54-bullseye
Composer response
Composer versions 2.4.4 2022-10-27 14:39:29PHP response
PHP 8.1.12 (cli) (built: Nov 15 2022 04:46:23) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.12, Copyright (c)...
Andrew Fletcher
•
I've recently upgraded the server Ubuntu 20.04 updating the PHP version from 7.4...
Andrew Fletcher
•
A recent upgrade to PHP 8.1, has highlighted an error that hadn't been appearing...
Andrew Fletcher
•
Working in Drupal 9.5 and I'm now getting the following cache tag error
The...
Andrew Fletcher
•
Working in Drupal admin, going to a content type > manage form display and...