Skip to main content
172
results
Andrew Fletcher
Working in Drupal admin, going to a content type > manage form display and I'm seeing the following error Fatal error: Declaration of Drupal\entity_reference_views\Plugin\Field\FieldWidget\Select2ViewsWidget::defaultSettings() must be compatible with Drupal\select2\Plugin\Field\FieldWidget\Select2EntityReferenceWidget::defaultSettings(): array in /app/web/modules/contrib/entity_reference_views/src/Plugin/Field/FieldWidget/Select2ViewsWidget.php on line 28This error relates to two specific...
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...
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 tools to quickly pull your site together.   Initial Configuration The installation and configuration steps are essentially the same as those outlined within the Tailwind documentation. Note they need to be performed within your custom theme's directory such as /themes/custom/{theme} for Drupal 9 Install Tailwind and PostCSS via npm or yarn.  I used npm...  # Using npm npm install...
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...
Andrew Fletcher
This article works through the steps to update dependencies in package.json...
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 ensure the changes apply in the next deployment? There are a couple of ways to achieve this... depending on whether a custom module exists or not.  I'll focus on using Drush. Drush is a great tool to manage many of Drupal's features.  For changes that are applied within the backend, best to use Drush export command - drush cex.  Then your config directory at root will be updated with the change....
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...
Andrew Fletcher
Drupal cache is one of the major subsystems that deliver Drupal's flexibility...
Andrew Fletcher
Android Studio error Installation did not succeed. The application could not be...