Skip to main content
20
results
Andrew Fletcher
As you're using Bootstrap 5 and applying a style for the hover state of an accordion button, specifically changing the background image of an ::after pseudo-element. If you want to change the icon colour on hover, you should modify the fill attribute in the SVG's path element.  Here's an example: /* Default state */ .accordion-button::after { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd'...
Andrew Fletcher
Resources - changing Drush Type Version Drush (current) 11.6.0 Drush...
Andrew Fletcher
Attempting to run a composer update command, you know the one used...
Andrew Fletcher
Using Composer to Manage Projects and if required their dependencies In this...
Andrew Fletcher
Using CK Editor 5, I needed to add instructions to a page that held FontAwesome...
Andrew Fletcher
Looking at composer I first wanted to check the current version, which is actioned by running the following command composer -VThe response I was seeing Composer version 2.1.5 2021-07-23 10:35:47    How to update to the latest version of Composer? Going to the Composer site, today the latest version is 2.5.1.  To update my version to this I need to run composer self-updateHowever, if you have the following response [Composer\Downloader\FilesystemException] Filesystem...
Andrew Fletcher
Build the PHP base image with apache-buster using the Dockerfile.base Since JN...
Andrew Fletcher
This article works through the steps to update dependencies in the...
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search...
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
Had the situation where you are running composer however, the scripts stops with...
Andrew Fletcher
While working with lando, I had the following error ERROR: for safs_appserver_1...
Andrew Fletcher
Let say in composer.json you have "drupal/core-recommended": "^9.2" You're...
Andrew Fletcher
Running composer on a server... when running the command composer update, screen...