Skip to main content
29
results
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
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...
Andrew Fletcher
I installed Lando 3.6.2 and Laravel 9.  When I visit the web page, I...
Andrew Fletcher
Working in Lando and you have hit the situation where you need to view the log files.  Where?  How? Lando has several log layers to assist in diagnosing many of the issues you might encounter.   Install Logs Failed installation?  Find logs in the following locations: macOS - /var/log/install.log Linux - Differs per system but check common apt or dnf/yum logs  Runtime Logs Runtime?  Check: macOS/LINUX - ~/.lando/logsThere should be core lando logs called...
Andrew Fletcher
Changes in your .env file Connecting your app to the new environment you need to...
Andrew Fletcher
Having access to a site’s URL in your templates can come in handy for many...
Andrew Fletcher
I want to create a content type that has a paragraph.  Easy enough. What...
Andrew Fletcher
Since upgrading to Drupal 9.3.0 have you come across this error? Edit...
Andrew Fletcher
When you have an entity ID value such as node ID (nid) or taxonomy term ID, how can you create the alias in a twig file?  In other words, instead of /taxonomy/term/{tid} I would like to get the alias I have defined for this, eg: /some/path/to/my/term. In trying to find an answer you might have queried your search criteria using something like twig canonical taxonomy path twig canonical entity path twig canonical node path  How to achieve This is achieved through using the...
Andrew Fletcher
You can create a new date/time format by navigating to: Admin ->...
Andrew Fletcher
Working in Twig, I had to add classes to a pre-existing array.  Whilst I've...
Andrew Fletcher
Working in Laravel, I needed to loop through an array and know whether the...