Skip to main content
15
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
Using CK Editor 5, I needed to add instructions to a page that held FontAwesome...
Andrew Fletcher
After cloning a site, next you will want to import the config file.  Which...
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
A recent attempt to run an update composer (regular activity for many of...
Andrew Fletcher
I'm writing these steps primarily for myself as a reference.  However, if...
Andrew Fletcher
I need to set the default php-version of a subscription to php7.3.  The...
Andrew Fletcher
Attempting to load changes in a staging site and the bountiful error page...
Andrew Fletcher
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server Set up: Plesk Obsidian 18.0.28 Centos 7 Like any error that pops up, the real check is how do you react? Keep and calm and investigate - even if colleagues are stressed out;  Grab a stress ball and work on it hard; or Join and stressed out party and lose perspective. I haven't seen this one before.  A quick search through Google and I discovered a solution on Virtualmin.  However, they write about...
Andrew Fletcher
This page shows a growing list of common commands for viewing and managing your...
Andrew Fletcher
Whilst updating nodejs and npm on a Centos 6 or 7 server running Apache, I...
Andrew Fletcher
Installing Laravel on an Apache server was going to be a no fuss process said no...
Andrew Fletcher
We had an issue recently where saving a page in the admin area produced one of...