Skip to main content
174
results
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
In the Drupal Status report, I'm seeing the following message Not set This...
Andrew Fletcher
Create a Lando setup running Drupal 10. The command you provided appears to be a...
Andrew Fletcher
In Drupal, the Watchdog module (or the logging system) is responsible for...
Andrew Fletcher
Update Drupal to 10.1.x and I'm receiving the following...
Andrew Fletcher
  Set up your server Begin by cleaning up your server environment.  Do this by updating Ubuntu’s package index: sudo apt update && sudo apt upgrade -y  Check if Python3 is already installed python --versionResponse Unknown option: -e usage: python3 [option] ... [-c cmd | -m mod | file | -] [arg] ... Try `python -h' for more information.Or python3 --versionResponse Python 3.8.10  Update Python If you want to update to the latest version sudo apt-get install python3...
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...
Andrew Fletcher
Post upgrading from Drupal 9.5.10 to Drupal 10.1.3, I was seeing the following...
Andrew Fletcher
To get Flysystem S3 ready for Drupal 10, I needed to apply the latest patch to...
Andrew Fletcher
To PATCH a user is to update an existing user... actually the current user logged in. An introduction to PATCH command can be viewed on the Node PATCH command screen.  Secondly, review the user API, as it outlines the structure for each of the fields that can be included.  Finally, if you haven't already reviewed the introduction into setting up RESTful hal+json refer to the set-up documentation.  Also see the Query - user screen.  To be able to...
Andrew Fletcher
  Updating to Drupal 10 Begin by upgrading Drupal 9 to the latest version....
Andrew Fletcher
Attempting to run a composer update command, you know the one used...
Andrew Fletcher
On most of the sites I'm running the Google analytics ID is appearing....
Andrew Fletcher
How to set the Private file path in Drupal using the following steps: Create a...