Skip to main content
142
results
Andrew Fletcher
I want to create a content type that has a paragraph.  Easy enough. What happens when I want to extend this concept and have a paragraph within the first paragraph?  Importantly, then display the second paragraph in a twig file. How to create a content type that holds a paragraph within a paragraph and make it display in twig files?   First, I thought I would use kint() or dump() to review the output and generate the structure to the data directly in the twig file. Given we...
Andrew Fletcher
Creating URL's in Drupal programmatically: Internal path use...
Andrew Fletcher
Working in Drupal 9.x, I was loading images via the Media module.  Below 1...
Andrew Fletcher
Have you tried to run a composer update script that...
Andrew Fletcher
Since upgrading to Drupal 9.3.0 have you come across this error? Edit...
Andrew Fletcher
Have you noticed through your Google account that there are items being indexed that shouldn't have been?   One for me was taxonomy terms.  Not important to be followed. Being indexed on my sitemap (do I just erase those entries on the XML file?) Being crawled (I am guessing this is with a robots.txt file though I have never created one before) Being viewed (stumbled upon) -> if this even possible to block?   Resolve these quickly by simply adding disallow in robots.txt...
Andrew Fletcher
When you have an entity ID value such as node ID (nid) or taxonomy term ID, how...
Andrew Fletcher
In drupal 9 for logging you can use logger service to log array data...
Andrew Fletcher
Adding Solr config zip (ie. solr_8.x_config.zip) to your remote...
Andrew Fletcher
Following is a series of steps to install Tika and have it running for your Solr...
Andrew Fletcher
The migrate process saves the status of each running migration in the database.  Any error in the code will abnormally terminate the process so the database won't be updated properly and will keep saying that "something is still running".   In Drupal I had a look through the error log and came across the following message: Migration icon_migrate_species_json is busy with another operation: ImportingHowever, this shouldn't be the situation and I had no scripts running.  Now...
Andrew Fletcher
You can create a new date/time format by navigating to: Admin ->...
Andrew Fletcher
To assist in finding possible solutions some of the queries that I made...
Andrew Fletcher
Creating a message log using Drupal watchdog.   Simple log // Logs a...
Andrew Fletcher
Working in Twig, I had to add classes to a pre-existing array.  Whilst I've...