Skip to main content
163
results
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...
Andrew Fletcher
Import a database lando db-import doj.sqlEnter the MySQL database lando mysql -h database This action will change the prompt as you are now in mysql.  The prompt will start with mysql>Now change to the database that you want to use use doj;If you want to know what databases exist, then run show databases;Response +--------------------+ | Database | +--------------------+ | information_schema | | doj | | mysql | | performance_schema | | sys ...
Andrew Fletcher
This article works through the steps to update dependencies in the...
Andrew Fletcher
Explain public, private, protected functions and variables inside a class in...
Andrew Fletcher
Assuming there is a new field requiring a change on a content type. How do you...
Andrew Fletcher
Replicate Replicate the bug in your local environment. Check Check - do you have...
Andrew Fletcher
2 or 3 approaches to build a homepage or landing page through Drupal Please include any limitations & considerations of each approach Building a homepage a few options to consider and should against a business case:   1. Article An article – create a new node (assuming a least one content type exists), then using Basic Site Settings (admin > config > system), scroll down to Front Page and enter the node.nid value or alias. Pros: Fast to apply Cons: Limited to only having one...
Andrew Fletcher
Drupal cache is one of the major subsystems that deliver Drupal's flexibility...
Andrew Fletcher
My goal was to get the base URL and compare it with the URL of the link....
Andrew Fletcher
  JSON structure Outlining the structure of the elements common attributes:...
Andrew Fletcher
Whilst I had regularly used HAL to upload files through REST API, this is no...