Skip to main content
28
results
Andrew Fletcher
xdebug - failed to solve with frontend dockerfile.v0: failed to create LLB definition: dockerfile parse error line 45: unknown instruction: ZEND_EXTENSION=XDEBUG.SO   How I got here Running the following Docker command docker-compose upGenerated this output: Building php [+] Building 0.1s (2/2) FINISHED  => [internal] load build definition from Dockerfile                       0.0s  => => transferring...
Andrew Fletcher
Create and push to Docker Hub Creating your own custom image... you need to have...
Andrew Fletcher
If you are using theme_get_settings, such as: $value =...
Andrew Fletcher
Resetting Docker is basically following the start parameters.  All...
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 happens when I want to extend this concept and have a paragraph within the first paragraph?  Importantly, then display the second paragraph in a twig file. How to create a content type that holds a paragraph within a paragraph and make it display in twig files?   First, I thought I would use kint() or dump() to review the output and generate the structure to the data directly in the twig file. Given we...
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...
Andrew Fletcher
Working in Twig, I had to add classes to a pre-existing array.  Whilst I've...
Andrew Fletcher
Setting up a new project in Docker and VS Code. Using Terminal, go to your...
Andrew Fletcher
Running Docker in a new process and creating a container.   Go to the directory using the cd command.  In this instance in the sites directory: cd ~/SitesCreate a new directory, which can be achieved using mkdir mkdir mydirIf Docker has been installed then the next command will be all that is required devcontainer  Not quite However, this might not be what happens.  On my first run I received the following error message: node:internal/modules/cjs/loader:927 throw...
Andrew Fletcher
Working in Laravel, I needed to loop through an array and know whether the...
Andrew Fletcher
A list of languages for the iOS app in speech mode: Arabic (Saudi Arabia) -...