Style Guide Submitted by daniel on Thu, 23/11/2023 - 23:41 Style Guide Admin is a simple module that enables developers to easily create and preview a style guide for any custom Drupal theme from the admin appearance menu. This has been designed and developed to be used with any custom Drupal theme. Date Created Mon, 20/11/2023 - 00:00 Read more about Style Guide11 views
Prevent Drupal Scaffolding overriding development services when working with Drupal Submitted by daniel on Wed, 04/10/2023 - 19:00 When working on Drupal it is often useful to change your local development.services.yml to enable certain development features and make debugging your application easier.e.g. This is basically taken from default.services.yml file with certain parameters changed to provide a more friendly development environment, depending on what you are working on. This can be adjusted to suit but hopefully will give you an idea. Notice how this gives us the ability to override various parameters and services to suit. Tags: Drupal composer Scaffold
Running Drupal's PHP Unit tests with Headless Chrome Image and ddev Submitted by daniel on Tue, 03/10/2023 - 16:37 In a previous article I have looked at running Drupal's Nightwatch and PHPUnit Tests using Drupal's Quickstart development environment. Today, I will look at how to run all the the PHP Unit Tests using a headless version of chrome.Setting up Headless Chrome ImageWithin your project root within the .ddev folder create a new YAML file and call it docker-compose.chromedriver.yaml Tags: ddev Testing PHPUnit Functional JavaScript Drupal
Correct Settings for running Drupal with Plesk and nginx Submitted by daniel on Mon, 18/09/2023 - 23:09 I recently realised that I was getting some strange behaviour when running Drupal X on Plesk Obsidian, when set to use PHP is run by and FPM application served with with nginx, such as the index.php showing on links and navigation items. Turns out I needed to add some additional configuration to get this working correctly.This is a wip but hopefully provides some reference for my self and other who want to configure Drupal correctly when hosting on a Plesk server. Tags: Plesk nginx Drupal
Getting Started with Drupal Contributions and Testing Submitted by daniel on Tue, 09/05/2023 - 17:34 One area that has seen quite a few changes in Drupal is testing. Tests and testing are a fundamental part of Drupal's ecosystem and have evolved over time. Tags: Testing php unit Drupal SimpleTest
Getting Started with Docker4Drupal and Next.js for Drupal Submitted by daniel on Wed, 26/04/2023 - 15:31 For a few years now, quite a lot of effort has gone into making Drupal work in a Headless or Restful state. This has led to the creation of modules such as the subrequests module that allows any set of requests to be aggregated together. Tags: next.js Drupal
Getting started with Remote Images in Drupal Submitted by daniel on Wed, 18/11/2020 - 19:10 In a previous article I touched on the oEmbed standard and a little about the use of remote media including remote images.Of course embedding images into to page whether hosted remotely or locally is not a new thing. Embedding remote images from the Drupal UI is not supported out of the box. Of course you can manually edit the html using your wysiwyg editor, but that is not very user friendly and is not a great user experience. Furthermore doing so increases that the risk your markup may be malformed etc Tags: Drupal embed media remote stream wrapper
Support for oEmbed opens up wealth of opportunities for embedded content Submitted by daniel on Wed, 18/11/2020 - 15:01 Drupal 8.6.0 has an out-of-box adds support for embedding remote YouTube and Vimeo videos by means of the oEmbed format. You may notice these are often encapsulated in an iframe. You can see this evident in a new media type being defined called 'Remote Video' available form /admin/structure/media. A new icon is also available form your wysiwyg that allows you to embed the new format in your page or block. Tags: oembed Drupal media embed
Drupal 8.7.7 adds semantic versioning support Submitted by daniel on Wed, 11/11/2020 - 17:14 One of the changes introduced with the launch of Drupal 8.7.7 included support for semantic versioning. The Semantic Versioning specification was originally authored by Tom Preston-Werner, inventor of Gravatar and cofounder of GitHub. We are currently on Semantic Versioning 2.0.0. Tags: Drupal semantic versioning
Cohesion makes sense for Acquia Submitted by daniel on Wed, 02/10/2019 - 12:14 The recent acquisition of Acquia by Vista Equity Partners for $1billion probably overshadowed the smaller acquisition of Cohesion by Acquia a few weeks earlier. The move helps Acquia enhance its portfolio by also acquiring the DX8 page editor and site builder tools: Tags: Drupal DX8 Cohesion Acquia