Skip to main content
19
results
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
Wanting to create a new repository on GitHub, add in a few of the available...
Andrew Fletcher
I had been running a few Centos 6 servers just past their EOL (30th November...
Andrew Fletcher
I need to set the default php-version of a subscription to php7.3.  The...
Andrew Fletcher
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI...
Andrew Fletcher
To add ejabberd and run MYSQL to the server I needed to update the server version of mysql from 5.5 to 5.7.  Fortunately, there are great instructions on the Plesk support page regarding how to achieve this outcome. https://support.plesk.com/hc/en-us/articles/213403429-How-to-upgrade-MySQL-5-5-to-5-6-5-7-or-MariaDB-5-5-to-10-0-10-1-10-2-on-Linux As a point of reference, as I worked through the steps... step 10 you need to restart the MYSQL server.  This is a quick progress by...
Andrew Fletcher
The purple warning notification of annoyance recently came my way!  I...
Andrew Fletcher
I'm currently working on a project that requires login, register, forget...
Andrew Fletcher
iOS localization on the fly If you have added languages to your app......
Andrew Fletcher
Updating Realm and RealmSwift from 5.5.x to 10.0.0 brought in the following...
Andrew Fletcher
After creating a new view with a @Binding string as follows struct EditRival: View { @Environment(\.presentationMode) var presentationMode @EnvironmentObject var realmPerson: RealmPersons @Binding var uid: String  The previews struct had an error with the var previews struct EditRival_Previews: PreviewProvider {   //... Initial code ...// static var previews: some View { EditRival() .environmentObject(RealmPersons()) }The error was Cannot convert value of...
Andrew Fletcher
What to do when you want to filter a Realm object, using NSPredicate in...
Andrew Fletcher
Today while in Terminal, I ran a regular script pod update.  However, this...
Andrew Fletcher
I'm going to take you on a journey about adding a gradient tint to a...
Andrew Fletcher
Creating a new SwiftUI project is a quick process.  There are already...