Skip to main content
147
results
Andrew Fletcher
The development version of the app database is held on the staging site.  Note all development and testing will be completed on the staging site. Drupal 9 uses: HAL : Serializes entities using Hypertext Application Language. RESTful Web Services For testing purposes you can use either of the following Chrome extensions: Postman; DHC   Using Postman to perform a GET command for a node The get string is https:/{your-site.com}/node/<nid>?_format=hal_json, where the...
Andrew Fletcher
The user parameters provides details about a specific user based...
Andrew Fletcher
Adding git tag to your actions. The regular process that I work to is git add...
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 edits will be wiped.  So they are not lost there are a couple of options for you to consider: Are the edits worth the contributing to the community?  Yes, you can fork the repo and add the changes for the developer(s) to review; or Create a patch file   Creating a patch file The process: Add the files you want to see in the diff.  Remembering to only add untracked files. git stash && git...
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...
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
Installing Varnish to increase the speed of the page load. Install varnish using the command below yum install varnishYour response should look something like Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.realcompute.io * epel: epel.mirror.digitalpacific.com.au * extras: mirror.realcompute.io * updates: centos.mirror.digitalpacific.com.au Resolving Dependencies --> Running transaction check ---> Package varnish.x86_64 0:4.0.5-3.el7 will be...
Andrew Fletcher
How do you exclude the current node from a list view? In some situations, for...
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
Let say in composer.json you have "drupal/core-recommended": "^9.2" You're...