Skip to main content
12
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
I'm writing these steps primarily for myself as a reference.  However, if...
Andrew Fletcher
Well for me it is very slow.  Recently, I upgraded from CentOS 6 to Centos...
Andrew Fletcher
To connect to your CPanel hosted server via SSH OSX, please follow...
Andrew Fletcher
I had an issue where logging in from the app disconnected.  The error that...
Andrew Fletcher
Building a contact list using SwiftUI has many challenges. One challenge is having multiple lists displayed on the one screen.  For example, known contacts using your app against contacts on the phone.  Initially, I tried the following code SearchBarView(text: $searchText, placeholder: "Type here") List { Section(header: ContactListHeader(listTitle: "rivals list")) { ForEach(self.userData.rivals.filter{ self.searchText.isEmpty ? true : $0.name.lowercased() ...
Andrew Fletcher
I had an instance where I needed to move content from a plist to the server...
Andrew Fletcher
Overview To update ejabberd you need to remove it, then re-install with the...
Andrew Fletcher
The starting point is to read through and follow the notes outlined on the...
Andrew Fletcher
To add Erlang repository that also includes the public key for verifying signed...
Andrew Fletcher
Adding a pem file to secure ejabbered on the server for chat connection. Getting the pem file I downloaded the pem file through Plesk (v17.8.11) under the SSL/TLS Certificates area.  Locate the certificate that you want to use and click the green arrow which when hovering will day download all certificate components. Location of the pem file on the server I added the pem to one level below the root level of the website in a directory of your choice... such as (certificates, pemfiles,...
Andrew Fletcher
To access the ejabberd log files, I found them located at the following...