Articles

Installing CiviCRM and Drupal 10 on DDEV

Playing about a bit with CiviCRM to look at use for some non-profit organisations I'm working with, and took me a while to set up a local test environment with DDEV. Drupal 11 has been out for a few months now, but at the time of writing CiviCRM only works with Drupal 10.3+.

Trends in Digital Accessibility for 2024

Attended the Hassell Inclusion 'Trends in Digital Accessibility for 2024' webinar last night. A phenomenal amount to take in, and absolutely packed with gems about accessibility and a good overview of the tech trends this year. The points that I felt were significant:

Current Favourite Modules

My master list of incredibly useful features (modules) available in Drupal, covering chunky, structural pieces, modules to improve usability and great developer modules. I update this list regularly, so bookmark it!

Stripping Inline PHP From Drupal Text Fields During Migration

I'm currently migrating a Drupal 7 site, but the (somewhat naughty) PHP code embedded into some of the text fields isn't being removed by the Drupal 9 text format: it's being rendered as plain text, which is a potential massive security hole.

Had me stumped, as I was trying to avoid Regex, which isn't particularly reliable for dealing with HTML; XPath was also a dead end... essentially need to remove the <?php and ?> tags plus any code between them.