Skip to main content
15
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
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
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.  Depending on which mail method you use there are up to eight fields to complete: Sender name; Sender email; Mail method: (PHP mail, Sendmail, SMTP, etc...).  I elected to go with SMTP;  SMTP address - such as smtp.your-domain.com or mail.your-domain.com; SMTP port - 587; SMTP encryption protocol - TLS or SSL; Authorization required - boolean response; Username - email account; and Password -...
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...
Andrew Fletcher
Common commands Themes and plugins have similar command lines.  So rather than note them individually and miss clarity, the reference {type} can be replaced with the term plugin or theme.   install php artisan {type}:install AuthorName.PluginName  list php artisan {type}:list   refresh plugins php artisan plugin:refresh AuthorName.PluginName  Utility references   Clear cache php artisan cache:clear  Clear config php artisan config:clear  Restart...
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
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...