Skip to main content
45
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
When Solr is displaying results on the site, first step is to log in the server...
Andrew Fletcher
To resolve the CVE-2022-48624 vulnerability on Ubuntu using Nginx, it's crucial...
Andrew Fletcher
In many terminal text editors, you use find command as reference in Terminal...
Andrew Fletcher
Having updated Solr, re-indexing wasn't working. The error in the logs...
Andrew Fletcher
On an Ubuntu 20.02 system with Nginx, you can utilize the following commands to handle Solr: To verify the status of the Solr service sudo systemctl status solrTo restart the Solr service sudo systemctl restart solrStart Solr sudo systemctl start solrStop Solr sudo systemctl stop solrEnable Solr (Start on Boot) sudo systemctl enable solrDisable Solr (Do Not Start on Boot) sudo systemctl disable solrCheck Solr Version solr versionCheck Solr Health curl...
Andrew Fletcher
Cleaning out or clearing data in Solr can be done in a few different ways,...
Andrew Fletcher
In an environment that is running Ubuntu 20.02 Nginx Solr   The default...
Andrew Fletcher
In Twig, the {% extends %} tag is used to inherit and extend the contents of...
Andrew Fletcher
Finalising a deployment to Drupal 10 and reviewing the latest log...
Andrew Fletcher
In Drupal Twig templates, you can set a variable like paragraph_parent to the parent entity of a paragraph using the paragraph.getParentEntity() method. This is a common approach when you want to access the parent entity (e.g., a node) that contains the paragraph.  Here's how you can do it: {# Get the parent entity (e.g., node) of the paragraph #} {% set paragraph_parent = paragraph.getParentEntity() %} {# Now you can access properties of the parent entity #} {{ paragraph_parent.title.value...
Andrew Fletcher
Update Drupal to 10.1.x and I'm receiving the following...
Andrew Fletcher
Adding an SSL wildcard certificate to an Ubuntu server involves several steps....
Andrew Fletcher
When logging into Ubuntu server you will see a response similar to Welcome to...
Andrew Fletcher
Forcing https and www or non-www is a process that I was a custom to through...