Skip to main content
28
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
Looking to install Solr on your server?  Not sure if it worth the...
Andrew Fletcher
It appears that the plugin or file path is not working how it used to be on...
Andrew Fletcher
Do you want to know how to add a node alias in a twig file?  Rather than do...
Andrew Fletcher
Installing Varnish to increase the speed of the page load. Install varnish using the command below yum install varnishYour response should look something like Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.realcompute.io * epel: epel.mirror.digitalpacific.com.au * extras: mirror.realcompute.io * updates: centos.mirror.digitalpacific.com.au Resolving Dependencies --> Running transaction check ---> Package varnish.x86_64 0:4.0.5-3.el7 will be...
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...