Skip to main content
13
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
Core Data - customising our data model When you are using Core Data, and let's say that you have a requirement to have an attribute where the options available should be a defined list.  Such as "Not Started", "Pending", "In Development" and "Completed".  How do you create this as an option in Core Data?   Thinking out loud, the practical solution would be to use an enum.  But how do you use a enum in this instance?  As you might have noticed, unfortunately, it...
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
We had an issue recently where saving a page in the admin area produced one of...