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
152
results
Andrew Fletcher
•
Working in an AWS ec2 environment, my goal is to access the server via terminal.
I initially work to get the instance ID. With this ID, I'm able to connect to the server. When first accessing the environment on the server the steps I take are:
sudo docker psps - refers to the 'process status'
Response
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6a6402c2c0c8 a0094945b64e "docker-php-entrypoi…" 49 minutes ago Up 49...
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...