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
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
Every project has to kick off somewhere.  Yep well that's a no brainer....
Andrew Fletcher
I installed Lando 3.6.2 and Laravel 9.  When I visit the web page, I...
Andrew Fletcher
Do you want set up a CI/CD process using GitHub Actions? This is a walk-through...
Andrew Fletcher
If like me you tried the command php artisanHowever, you had the following “Could not open input file: artisan” error when starting the Laravel service using the above command.   How come “Could not open input file: artisan” error is showing up in Laravel There are a few causes behind this error. File doesn't exist Incorrect console location Missing correct permission for artisan Composer install   File doesn't exist Yep - I know, I shouldn't have to reference this one, but it's...
Andrew Fletcher
Working in Laravel, I needed to loop through an array and know whether the...
Andrew Fletcher
Setting up the mail configuration in October CMS is a quick progress....
Andrew Fletcher
Images For some time, when looking for images online for your app or site I have...
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 site.  Recently, I had transferred the site to production and I was working through our steps to cross check deployment.  This included reviewing the error logger plugin.  The error logger has four tabs Mailer, Slack, Syslog and Relic.  In the syslog tab, I was tweeting the facility, when on saving the change the site the following error greeted me: [2020-10-14 08:01:29] development.ERROR:...
Andrew Fletcher
Using October CMS to migrate your site and update the tables with the plugins...