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
171
results
Andrew Fletcher
•
Resources - changing Drush
Type
Version
Drush (current)
11.6.0
Drush (update)
12.2.0
Updating Drush went OK on all testing environments until on to the staging environment.
The initial error that I saw was
PHP Fatal error: Declaration of Drush\Style\DrushStyle::confirm($question, $default = true) must be compatible with Symfony\Component\Console\Style\SymfonyStyle::confirm(string $question, bool $default = true): bool in...
Andrew Fletcher
•
By default the maximum file upload size is set to 2MB. It is not a...
Andrew Fletcher
•
Twig error
Twig\Error\SyntaxError: Unknown "filter" tag. in...
Andrew Fletcher
•
Post upgrading from Drupal 9.5.10 to Drupal 10.1.3, I was seeing the following...
Andrew Fletcher
•
To get Flysystem S3 ready for Drupal 10, I needed to apply the latest patch to...
Andrew Fletcher
•
To PATCH a user is to update an existing user... actually the current user logged in.
An introduction to PATCH command can be viewed on the Node PATCH command screen. Secondly, review the user API, as it outlines the structure for each of the fields that can be included. Finally, if you haven't already reviewed the introduction into setting up RESTful hal+json refer to the set-up documentation. Also see the Query - user screen. To be able to...
Andrew Fletcher
•
Updating to Drupal 10
Begin by upgrading Drupal 9 to the latest version....
Andrew Fletcher
•
Attempting to run a composer update command, you know the one used...
Andrew Fletcher
•
On most of the sites I'm running the Google analytics ID is appearing....
Andrew Fletcher
•
Goal: Restrict content access through username and password entry on an Nginx...
Andrew Fletcher
•
How to set the Private file path in Drupal using the following steps:
Create a private folder in the web root
Add a .htaccess file to the private folder
Update the settings.php file
Create a private folder in the web root
Open a terminal window and navigate to the web root directory of your Drupal site. In your web root add your private folder. In this instance I'll create a folder named 'prvt-media'. Use the mkdir command to create a new folder named prvt-media
mkdir...
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...