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
Update Drupal to 10.1.x and I'm receiving the following...
Andrew Fletcher
Update Ubuntu 20.04 To begin update the server using the command sudo apt update...
Andrew Fletcher
By default the maximum file upload size is set to 2MB.  It is not a...
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
Installing PHP on OSX and it installed PHP 8.2.x.  However, for my...
Andrew Fletcher
  JSON structure Outlining the structure of the elements common attributes:...
Andrew Fletcher
In this instance, I'll check the beginning of the string.  I want to focus...
Andrew Fletcher
Working from the bases that .DS_Store has not been added to your git repository, then you can add it to your .gitignore file. touch .gitignoreIn the .gitignore file add the following # Hide the DS_Store files **/.DS_StoreHowever, if it's already there, then in Terminal you will need to write: find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatchFinally commit to repo git commit -m "Remove .DS_Store" git push origin...
Andrew Fletcher
To sort through a multidimensional array seems to be a function that I...
Andrew Fletcher
phpcs issue in Visual Studio Code, I'm receiving this warning in VS...
Andrew Fletcher
Had the situation where you are running composer however, the scripts stops with...
Andrew Fletcher
Oh the treasure of a client coming to you with a site they have removed the...