Skip to main content
145
results
Andrew Fletcher
The user parameters provides details about a specific user based on the following parameters: User uid; The output of this query will return user profile data only of the fields containing data.  An example of the data returned includes, but is not limited to the following: Name {name} - in the system this is their username; Created {created} Firstname {field_firstname} Lastname {field_lastname} Gender {field_gender} Calling a query To call a user query the details are...
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...
Andrew Fletcher
As a web developer, you will most likely need to run local copies of a bunch of different web sites. Regularly switching between several sites daily.  Sometime Drupal, other Laravel and whatever frameworks that are in your toolkit.   Install Docker and Lando Do you have Docker installed?  No, then go to the Docker Desktop page and download. Now let's look in to Lando.  Have a look at the Lando releases on GitHub to download the latest package for your OS. Run the installer. I...
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...
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
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...