Skip to main content
26
results
Andrew Fletcher
In Twig, the {% extends %} tag is used to inherit and extend the contents of another template. In the case you provided: {% extends "filed--text.html.twig" %}This means that the current template is extending the content of the template file named "filed--text.html.twig." The contents of the extended template will be used as a base, and the current template can override or add to specific blocks defined in the base template.   A breakdown of the elements {% extends "filed--text.html.twig" %}...
Andrew Fletcher
In Drupal Twig templates, you can set a variable like paragraph_parent to the...
Andrew Fletcher
Docker containers list To view a list of Docker containers that are currently...
Andrew Fletcher
Update Drupal to 10.1.x and I'm receiving the following...
Andrew Fletcher
Twig error Twig\Error\SyntaxError: Unknown "filter" tag. in...
Andrew Fletcher
Working in an AWS ec2 environment, my goal is to access the server via terminal. I initially work to get the instance ID.  With this ID, I'm able to connect to the server.  When first accessing the environment on the server the steps I take are: sudo docker psps - refers to the 'process status' Response CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 6a6402c2c0c8 a0094945b64e "docker-php-entrypoi…" 49 minutes ago Up 49...
Andrew Fletcher
This guide has been compiled as a reference tool on how to access field values...
Andrew Fletcher
Build the PHP base image with apache-buster using the Dockerfile.base Since JN...
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working through the output for recently viewed pages... the code structure: <?php namespace Drupal\custom\Plugin\GetData\paragraph; use Drupal\custom\Plugin\GetData\ContentBase; use Drupal\custom\Plugin\GetData\ParagraphTrait; use Drupal\node\Entity\Node; /** * Provides Recent view pages data. * * @GetData( * id = "recent_view_pages", * title = @Translation("Recent view pages Data"), * ) */ class...
Andrew Fletcher
Do you want to know how to add a node alias in a twig file?  Rather than do...
Andrew Fletcher
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
Running Docker Dangerous word... I'm assuming that Docker is installed....
Andrew Fletcher
Running Docker and attempting to install a web proxy environment where I'm...