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 had been running a few Centos 6 servers just past their EOL (30th November...
Andrew Fletcher
Working in Laravel, I needed to loop through an array and know whether the...
Andrew Fletcher
I need to set the default php-version of a subscription to php7.3.  The...
Andrew Fletcher
Setting up the mail configuration in October CMS is a quick progress....
Andrew Fletcher
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server Set up: Plesk Obsidian 18.0.28 Centos 7 Like any error that pops up, the real check is how do you react? Keep and calm and investigate - even if colleagues are stressed out;  Grab a stress ball and work on it hard; or Join and stressed out party and lose perspective. I haven't seen this one before.  A quick search through Google and I discovered a solution on Virtualmin.  However, they write about...
Andrew Fletcher
To add ejabberd and run MYSQL to the server I needed to update the server...
Andrew Fletcher
Common commands Themes and plugins have similar command lines.  So rather...
Andrew Fletcher
At times while developing in October CMS, you will perform a step that kills the...
Andrew Fletcher
Using October CMS to migrate your site and update the tables with the plugins...
Andrew Fletcher
Using shell access you the site you want to add the Spyc library.  Then go to the libraries directory and add the following commands: mkdir spyc cd spyc wget https://github.com/mustangostang/spyc/blob/master/Spyc.phpTo verify that Spyc is active, go to the status area of admin (admin/reports/status)
Andrew Fletcher
While I have posted an article about how to POST an image using REST in Drupal...