Skip to main content
41
results
Andrew Fletcher
Recently, I encountered an issue where my local Docker environment refused to connect to AWS S3, although everything worked seamlessly in AWS-managed environments. This challenge was not just a technical hurdle; it was a crucial bottleneck that needed resolution to ensure smooth Drupal deployments across various AWS environments (dev, staging and production). Integrating AWS S3 into a local Docker container running Drupal 10 is more than just a technical setup; it’s a transformation that will...
Andrew Fletcher
When executing the following command, the response I'm getting is npm ERR! code...
Andrew Fletcher
As you're using Bootstrap 5 and applying a style for the hover state of an...
Andrew Fletcher
Docker containers list To view a list of Docker containers that are currently...
Andrew Fletcher
Working in an AWS ec2 environment, my goal is to access the server via...
Andrew Fletcher
Using CK Editor 5, I needed to add instructions to a page that held FontAwesome (FA) icons.  Included in these instructions were a couple of FA icons.  Initially adding them was going to be resolved using Pseudo-elements.  Accordingly they would be applied as follows: .download-icon, .portal-icon { position: relative; display: inline-block; text-rendering: auto; -webkit-font-smoothing: antialiased; } .download-icon::before, .portal-icon::before { font-family:...
Andrew Fletcher
Build the PHP base image with apache-buster using the Dockerfile.base Since JN...
Andrew Fletcher
This article works through the steps to update dependencies in package.json...
Andrew Fletcher
 ERROR Error: Uncaught (in promise): TypeError: undefined is not an object...
Andrew Fletcher
  Using the Drupal Poll module and passing via RESTful API -  How do...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working through the output for recently viewed pages... the code structure: <?php namespace Drupal\custom\Plugin\GetData\paragraph; use Drupal\custom\Plugin\GetData\ContentBase; use Drupal\custom\Plugin\GetData\ParagraphTrait; use Drupal\node\Entity\Node; /** * Provides Recent view pages data. * * @GetData( * id = "recent_view_pages", * title = @Translation("Recent view pages Data"), * ) */ class...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
How to use the Drupal REST API to trigger I've forgot (need to change) my...
Andrew Fletcher
To get the X-CSRF token, first, you need to login as a member.  Follow the...
Andrew Fletcher
In retrieving an image, the primary element required is: File id or...