Skip to main content
9
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
The cache system in Drupal 9 delivers the API with the elements required for...
Andrew Fletcher
Installing Varnish to increase the speed of the page load. Install varnish using...
Andrew Fletcher
Clear DNS Cache The DNS (Domain Name Service) cache on your Mac helps browsers...
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.  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
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...