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
159
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
•
By default the maximum file upload size is set to 2MB. It is not a Drupal issue, instead a php issue as upload_max_filesize is set in your php configuration (php.ini file). Therefore it is a server-side configuration. If you have access to the php configuration file, I would recommend to make the changes directly in it. Yet, on some occasions you cannot access the server configuration (on a shared hosting, for instance) and if you wish to alter some of your server...
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...
Andrew Fletcher
•
Updating to Drupal 10
Begin by upgrading Drupal 9 to the latest version. Currently that is 9.5.10
Review existing modules and themes
Using the Upgrade Status (https://www.drupal.org/project/upgrade_status) module, review the state of existing installed and uninstalled modules and themes. This includes removing deprecated modules in Drupal 10 such as Color, HAL, RDF and themes Bartik and Stable. Note, for Drupal 10, the theme Stable is now Stable9.
Note - while...
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...
Andrew Fletcher
•
Using Composer to Manage Projects and if required their dependencies
In this...