Skip to main content
42
results
Andrew Fletcher
This guide has been compiled as a reference tool on how to access field values for different field types. The Manage Display admin UI can change how a field’s label and content are displayed. When I want to show how to output just the Manage Display version of the content, I use the word ‘display’. When I’m talking about the more raw version of the content, I use ‘value’. I have used field_name as a placeholder machine name for each field. Replace it with your field’s machine name. You can...
Andrew Fletcher
Looking at composer I first wanted to check the current version, which is...
Andrew Fletcher
How do you remove a file from git? Use the command (rm) to remove files from...
Andrew Fletcher
Moving a Git repo due to a change of agencies   Steps to change the...
Andrew Fletcher
Build the PHP base image with apache-buster using the Dockerfile.base Since JN...
Andrew Fletcher
This article works through the steps to update dependencies in the composer.json file to the latest version. Use composer outdated to suggest the latest versions. composer outdatedWhereas, to return a complete list of packages where packages that need an update are coloured red, the up-to-date ones are coloured green composer show -l  Steps from above with responses Updating packages to a version supported by the constraints use: composer updateWhereas, if you want to update...
Andrew Fletcher
Currently, I have a situation where I have two repositories.  The first is...
Andrew Fletcher
Working from the bases that .DS_Store has not been added to your git repository,...
Andrew Fletcher
Adding git tag to your actions. The regular process that I work to is git add...
Andrew Fletcher
Had the situation where you are running composer however, the scripts stops with...
Andrew Fletcher
Do you want to know how to add a node alias in a twig file?  Rather than do the set up in a custom module or using your theme file. To be able to create a node alias in a twig file you need to know the node.nid value.  Obviously without it you have nothing to reference from.  In this example, the node.nid value is extracted during a loop.  A fairly standard loop such as {% for row in rows %} // ... script doing some magic ... // {% endfor %}Begin by setting the nid value...
Andrew Fletcher
If you edit a Drupal contrib module, the next time the module is updated those...
Andrew Fletcher
While working with lando, I had the following error ERROR: for safs_appserver_1...
Andrew Fletcher
Changing git push from passphrase?  There are several ways to tackle this...
Andrew Fletcher
Let say in composer.json you have "drupal/core-recommended": "^9.2" You're...