Skip to main content
147
results
Andrew Fletcher
In a site I'm working at the moment, we need to download high resolution images for media groups.  How do you force a href to download rather than the default display in the browser? The code I've written to manage the paragraph is {% block paragraph %} <div{{attributes.addClass(classes)}}> {% block content %} <div class="g-0"> <div class="row align-items-top g-10"> <div class="d-none d-sm-block"> {% set media_image =...
Andrew Fletcher
Whilst attempting to download the latest config.zip file for Solr, I was greeted...
Andrew Fletcher
Having a situation where I'm running a sub theme based on Bootstrap Barrio, but...
Andrew Fletcher
This guide has been compiled as a reference tool on how to access field values...
Andrew Fletcher
Running Docker, I deleted the images and containers they had been built to date....
Andrew Fletcher
I've recently upgraded the server Ubuntu 20.04 updating the PHP version from 7.4 to 8.1.  However, when I've attempted to export the MySQL database using the command drush sql-dump --extra-dump=--no-tablespaces --result-file=../sql/db-2023-02-25.sqlI seeing the following response > mysqldump: Couldn't execute 'FLUSH TABLES': Access denied; you need (at least one of) the RELOAD or FLUSH_TABLES privilege(s) for this operation (1227) In SqlCommands.php line 242: Unable to dump...
Andrew Fletcher
A recent upgrade to PHP 8.1, has highlighted an error that hadn't been appearing...
Andrew Fletcher
Working in Drupal 9.5 and I'm now getting the following cache tag error The...
Andrew Fletcher
Working in Drupal admin, going to a content type > manage form display and...
Andrew Fletcher
Working through and importing JSON data into a content type.   Drush...
Andrew Fletcher
After cloning a site, next you will want to import the config file.  Which you can do so by running the command: drush cim -yHopefully it worked for you.  As it didn't work out so well for me as the response was: [error] Drupal\Core\Config\ConfigImporterException: There were errors validating the config s ynchronization. Site UUID in source storage does not match the target storage. Entities exist of type <em class="placeholder">Shortcut link</em>...
Andrew Fletcher
Build the PHP base image with apache-buster using the Dockerfile.base Since JN...
Andrew Fletcher
This is a relatively quick process, beginning with dropping the database...
Andrew Fletcher
Tailwind CSS is a highly customisable framework that delivers developers the...
Andrew Fletcher
Currently, we are upgrading a site from Drupal 7 to Drupal 9.  During this...