Skip to main content
172
results
Andrew Fletcher
The cache system in Drupal 9 delivers the API with the elements required for creation, storage and invalidation of cached data.  Drupal is structured so initially data is stored in the database.  Whereas, files are stored in the following directories: sites/default/files/css sites/default/files/js sites/default/files/phpFocusing on database storage, from a performance perspective the default cache is managed via the admin interface admin/config/development/performanceOn this page,...
Andrew Fletcher
How to get the current user or load a user using a uid value. $current_user =...
Andrew Fletcher
Running a few SEO and performance tests and I discovered that the site logo...
Andrew Fletcher
How do you exclude the current node from a list view? In some situations, for...
Andrew Fletcher
I installed Lando 3.6.2 and Laravel 9.  When I visit the web page, I...
Andrew Fletcher
I'm receiving an error with a path of Drupal\path_alias\AliasManager Upgrading to Drupal 9, I was running a test to see which blocks and/or modules would fail.  And there were plenty... like this AliasManager error TypeError: Argument 4 passed to Drupal\{module}\Plugin\Block\{custom_block}Block::__construct() must be an instance of Drupal\Core\Path\AliasManager, instance of Drupal\path_alias\AliasManager given, called in...
Andrew Fletcher
Let say in composer.json you have "drupal/core-recommended": "^9.2" You're...
Andrew Fletcher
Have you tried adding custom synonyms to Solr on Drupal? How did you go? What do...
Andrew Fletcher
Updating to PHP 8.1, I found this interesting code stop... Deprecated function:...
Andrew Fletcher
Running Docker Dangerous word... I'm assuming that Docker is installed....
Andrew Fletcher
Is Docker installed? Check if your installation is ok and spin up Docker as well: docker -D info  Using Docker Now it's time to download and install docker images. Using the official images of MariaDB and Drupal. If you don’t specify the absolute URL to the image it will be searched and downloaded from Docker Hub. Tag 'latest' will be used by default. docker pull mariadbNow it's Drupal turn. Again pull the latest version. If you specify the tag: 9.3.3 'drupal:9.3.3' it will download that...
Andrew Fletcher
Create and push to Docker Hub Creating your own custom image... you need to have...
Andrew Fletcher
If you are using theme_get_settings, such as: $value =...
Andrew Fletcher
Having access to a site’s URL in your templates can come in handy for many...
Andrew Fletcher
I want to create a content type that has a paragraph.  Easy enough. What...