Skip to main content
10
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
You would have come across a URL string that appears...
Andrew Fletcher
Well for me it is very slow.  Recently, I upgraded from CentOS 6 to Centos...
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
To connect to your CPanel hosted server via SSH OSX, please follow these steps: Generate your SSH key Log in to your CPanel account.  As first you will have to generate an SSH key pair in cPanel -> SSH/Shell Access Complete the details in the Generate new SSH key pair form First name Last name Email Password - take note of the password you used to generate the key as you will use it shortly Allowed IP address  Copy the private key from cPanel and save it into...
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
I had an instance where I needed to move content from a plist to the server...