Skip to main content
184
results
Andrew Fletcher
Adding git tag to your actions. The regular process that I work to is git add -A git commit -m "some comment" git pushWith git tag, whilst there are many options for how you can apply git tag, this initial step I'll keep simple.  As follows: git add -A git commit -m "some comment" git tag some note git pushI'm looking to trigger a GitHub pipeline action.  The trigger in this instance is dev-* So if the tag has something with dev-, then the pipeline trigger occurs.  By way of...
Andrew Fletcher
Attempting to update the database, irrespective whether I run update.php or...
Andrew Fletcher
Do you want to know how to add a node alias in a twig file?  Rather than do...
Andrew Fletcher
If you edit a Drupal contrib module, the next time the module is updated those...
Andrew Fletcher
As a web developer, you will most likely need to run local copies of a bunch of...
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
Currently I'm working through an app that has been abandoned by the developers....
Andrew Fletcher
First off, this isn't the only method to achieve the outcome of emptying a file. Using a symbol : is a shell built-in command that is essence equivalent to the true command and it can be used as a no-op (no operation).  It can be used as follows: # : > filename.txtOR  # true > filename.txt  My initial file was as follows: 21548342 16 Mar 20:27 code.logPost using the command  : > filename.txtThe response was  0 16 Mar 20:27...
Andrew Fletcher
I'm receiving an error with a path of Drupal\path_alias\AliasManager Upgrading...
Andrew Fletcher
Clear DNS Cache The DNS (Domain Name Service) cache on your Mac helps browsers...
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...