Skip to main content
140
results
Andrew Fletcher
Setting up a new project in Docker and VS Code. Using Terminal, go to your Sites directory and create a new directory using the mkdir command.  In this instance I'm going to create a new directory titled ADCE shortcut command to access the Sites directory cd ~/SitesCreate the new directory mkdir ADCEGo in to the new directory cd ADCERun the devcontainer command devcontainerThis will require you to respond to prompts.  I'll be setting up on PHP 7.4, Drupal 9, MySQL 5.7 and SOLR...
Andrew Fletcher
Load testing verifies the system performance under the expected peak load....
Andrew Fletcher
A bug bear that I have had for a while with Drupal content is how come the...
Andrew Fletcher
Time is essential to all of us... and if you are like me there is never enough...
Andrew Fletcher
Updating Drupal from 8.7.10 to 8.8.x or 8.9.x has seen a significant change...
Andrew Fletcher
As outlined in an earlier article composer php version, when installing the latest version of Drupal the Plesk version and the server version can be different.  In plesk, the version of PHP is 7.3.18, whereas, on the Centos server a check through Terminal (php -v) shows PHP 7.1.33 (cli). When attempting to install Drupal 9 through composer, the following errors will be shown: Problem 1 - drupal/core-composer-scaffold 9.1.x-dev requires php >=7.3.0 -> your PHP version...
Andrew Fletcher
Blocks are a great way to add pieces or chunks of content to your Drupal site....
Andrew Fletcher
Adding an image via RESTUI can be done in a snap... once you know how!  I...
Andrew Fletcher
When you are in the status report of the admin area are you finding the...
Andrew Fletcher
The magically descriptive error 401 Forbidden "message": "Access...
Andrew Fletcher
Loading the node To query the node, I prefer to create a series of functions to mange the process in a class.  However, keeping this simple, this can be achieved through: $node = \Drupal\node\Entity\Node::load($nid);Otherwise if you require to load multiple nodes, where the list of node.nids is in an array. $nodes = \Drupal::entityTypeManager()->getStorage('node'); $this->list = $nodes->loadMultiple($this->nids);  Whereas, if you are looking to query the node database for...
Andrew Fletcher
If you are like me you probably have searched for clues to and found little......
Andrew Fletcher
Registering a user via REST is an important process particularly when the...
Andrew Fletcher
As a process I apply patches locally first, then using git upload the update(s)...
Andrew Fletcher
While the Drupal site has a great outline of the steps to follow, I found we...