Skip to main content
47
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
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...
Andrew Fletcher
In our projects, team members frequently generate new Git branches linked to the...
Andrew Fletcher
Cleaning out or clearing data in Solr can be done in a few different ways, depending on your specific requirements.   Delete All Documents You can use the Solr Admin interface or send a DELETE request to remove all documents from a Solr core. Solr Admin Interface: Open your web browser and navigate to the Solr Admin interface, typically at http://your_solr_server:8983/solr. Select the core you want to clear. Click on the "Query" menu. In the "q" field, enter *:* to match all...
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
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
git reset, git revert, and git cherry-pick are three Git commands used for different purposes related to managing your version control history. Here's a brief overview of each command: git reset git revert git cherry-pick  Snapshot git revert is to roll back to a previous version of the repo you're working on git reset simply wipe all changes made since the last commit.  You don't want to commit the changes you have locally, however, you want to reinstate the conditions as they...
Andrew Fletcher
git clone git@bitbucket.org:{username}/{repo}.git And I was unceremoniously...
Andrew Fletcher
Something I haven't had to do in a while is to change the name of a Git branch...
Andrew Fletcher
Twig error Twig\Error\SyntaxError: Unknown "filter" tag. in...
Andrew Fletcher
Git filename error when running the git add command.  The error I'm...