Skip to main content
14
results
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated content for the Work Resources page.  So the icon is displayed with a path.  Enabling React developers to select whether to use the image or icon. Tools Drupal 9.4 React     Currently, the JSON output  { "id": "content_reference", "title": "Forms", "summary": null, "columns": "3", "cta": { "text": "View all", "href": "https://www.google.com/" }, "content": [ ...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
Andrew Fletcher
A recent attempt to run an update composer (regular activity for many of...
Andrew Fletcher
I'm writing these steps primarily for myself as a reference.  However, if...
Andrew Fletcher
A bug bear that I have had for a while with Drupal content is how come the author of an article is actually their username.  I have an array of reasons to vent my dislike for this strategy... however, instead I will show you how to change it.  Albeit, programmatically!  Don't stress there actually isn't a huge amount of code to add.  In time I'll create a module so no coding is required.   Setting up account fields in the admin area To begin let's add new fields for...
Andrew Fletcher
I need to set the default php-version of a subscription to php7.3.  The...
Andrew Fletcher
Attempting to load changes in a staging site and the bountiful error page...
Andrew Fletcher
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI...
Andrew Fletcher
This page shows a growing list of common commands for viewing and managing your...
Andrew Fletcher
Whilst updating nodejs and npm on a Centos 6 or 7 server running Apache, I hit a few walls and as a matter of process found some commands that are handy to run before doing a deep dive in Google.   Cleaning the cache sudo yum clean all rm -rf /var/cache/yum/* To make the cache sudo yum clean all; sudo yum makecacheIf you want to run several commands use semi-colon as noted above.   Updating When running an update command run sudo yum -y...
Andrew Fletcher
Installing Laravel on an Apache server was going to be a no fuss process said no...
Andrew Fletcher
Ha you have read it before, one of those throw away lines that is written "just...
Andrew Fletcher
We had an issue recently where saving a page in the admin area produced one of...