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
162
results
Andrew Fletcher
•
In the Drupal Status report, I'm seeing the following message
Not set
This attribute should be explicitly set to Lax, Strict or None. If set to None then the request must be made via HTTPS. See PHP documentation
The "SameSite" cookie attribute is a security feature in web browsers that helps prevent cross-site request forgery (CSRF) and cross-site scripting (XSS) attacks. This attribute allows web developers to control when cookies should be sent with cross-origin requests.
When you see a...
Andrew Fletcher
•
Create a Lando setup running Drupal 10.
The command you provided appears to be a...
Andrew Fletcher
•
In Drupal, the Watchdog module (or the logging system) is responsible for...
Andrew Fletcher
•
Update Drupal to 10.1.x and I'm receiving the following...
Andrew Fletcher
•
Set up your server
Begin by cleaning up your server environment. Do...
Andrew Fletcher
•
Recently a client handed me code that runs an app through iOS and Android. No details about whether native or otherwise. Once I had the opportunity to crawl through the code, definitely not native. Typescript, Angular, Cordova... etc.
Glancing at the modification dates, the last time something had been tweaked on the app as June 2021. Which immediately raises a flag that there are potentially a lot of issues with the code. At this stage my concern wasn't with how...
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
•
How to set the Private file path in Drupal using the following steps:
Create a...