Drupal

Drupal is a cmf developed by Dries Buytaert about 20 years ago. It has developed a rich culture of developers supporting the system, and it is a highly flexible system.
· Lars Nielsen

composer-patches 2.0 on a Drupal Site: patches.lock.json, relock and repatch, and a Leftover From Version 1

"How do I apply a patch with Composer?" is one of the most-viewed Drupal questions on Stack Exchange, and the plugin behind the usual answer, cweagans/composer-patches, changed its workflow in version 2. This site upgraded to version 2.0 in August, as one of the build-tool upgrades before Drupal 11.

Read article composer-patches 2.0 on a Drupal Site: patches.lock.json, relock and repatch, and a Leftover From Version 1
· Lars Nielsen

Article JSON-LD on a Drupal Site: publisher and mainEntityOfPage Aren't What Google Asks For

Until September, this site had no structured data at all: no JSON-LD, no microdata, not even Open Graph tags. I noticed because the search-appearance report in Search Console came back completely empty in two exports in a row. I added Open Graph tags and a block of JSON-LD to every article page, including publisher and mainEntityOfPage.

Read article Article JSON-LD on a Drupal Site: publisher and mainEntityOfPage Aren't What Google Asks For
· Lars Nielsen

Drupal Tried to Email Me 1,189 Times. There Was No Sendmail to Send Them.

This site runs Drupal's cron every 15 minutes from a crontab on the server, with the output appended to a log file in my home directory. For about twelve days in September, almost every one of those runs tried to send me an email, failed, and wrote two lines about it to that log. Nobody read the log. The emails were security update notifications.

Read article Drupal Tried to Email Me 1,189 Times. There Was No Sendmail to Send Them.
· Lars Nielsen

A Two-Character Regex Fix That Was Quietly Defeating Its Own Preload Tags

A CSS preload optimization shipped, ran on every page load, and did nothing. Not "did nothing dramatic" — did nothing at all, silently, for the length of time it took someone to notice the preload tags weren't matching anything a browser would actually reuse. The fix was two characters in a regular expression.

Read article A Two-Character Regex Fix That Was Quietly Defeating Its Own Preload Tags
Subscribe to Drupal