Skip to main content
152
results
Andrew Fletcher
The user API, was originally created under the General Documenation area (see Query - user).  I'm creating a new user API document under the API documentation area. Calling a query To call a user query the details are required: User uid; Authentication credentials The query string is: {domain}/user/{uid}?_format=hal_json See the notes on set up, for the staging and production URLs.  Using the current staging URL in the set up screen, as example of...
Andrew Fletcher
The development version of the app database is held on the staging site....
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 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
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
On your local OSX environment using Terminal or iTerm you can create a MySQL...
Andrew Fletcher
This article assumes that you are running Docker and Lando already.  Don't...
Andrew Fletcher
While working with lando, I had the following error ERROR: for safs_appserver_1 UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=300) ERROR: for safs_database_1 UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=300) ERROR: for appserver UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=300) ERROR: for database UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read...
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
How do you exclude the current node from a list view? In some situations, for...