Skip to main content
29
results
Andrew Fletcher
The issue – I have a content type that includes an entity reference revisions field named field_introduction. This field points to a paragraph, which itself contains a text field also named field_introduction, of the type Text (formatted, long). How can I access the content stored in this paragraph's field_introduction field? In Drupal, managing content structured through fields and entities allows for flexible and dynamic content architectures. One common scenario involves accessing data from a...
Andrew Fletcher
In Twig, the {% extends %} tag is used to inherit and extend the contents of...
Andrew Fletcher
In Drupal Twig templates, you can set a variable like paragraph_parent to the...
Andrew Fletcher
Update Drupal to 10.1.x and I'm receiving the following...
Andrew Fletcher
Loading the code in a platform - in this article, I'll be focusing on Android...
Andrew Fletcher
Twig error Twig\Error\SyntaxError: Unknown "filter" tag. in Twig\Parser->subparse() (line 6 of themes/custom/{theme}/templates/views/views-view-field--products--field_product_type.html.twig).Line 6 of the views-view-field--products--field_product_type.html.twig file is  {% filter upper|escape('html') %}The actual Twig file code {% filter upper|escape('html') %} {{ view.field.field_product_type.original_value -}} {% endfilter %}In Drupal 10, this is producing the error noted above -...
Andrew Fletcher
This guide has been compiled as a reference tool on how to access field values...
Andrew Fletcher
It appears that the plugin or file path is not working how it used to be on...
Andrew Fletcher
Currently, I have a situation where I have two repositories.  The first is...
Andrew Fletcher
When attempting to do a git push, are you getting the following...
Andrew Fletcher
In this woalk through I am going to use GitHub.  However, the steps are similar to a Bitbucket profile.  Logged in to your GitHub account, click your profile icon, located (at the time of this writing) on the top right corner.  Select Settings Click SSH and GPG Keys Click Add New SHH KeyA new page will open  requiring Title Key Type a title that represents the project you are working on. Open your terminal application and enter the command ls -al ~/.sshThe period...
Andrew Fletcher
Do you want to know how to add a node alias in a twig file?  Rather than do...
Andrew Fletcher
Updating to PHP 8.1, I found this interesting code stop... Deprecated function:...
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...