My LocalGov Drupal contributions for April 2026
We're soooo close to getting the new localgov_children field launched for LocalGov Drupal.
- Having made a decent start on work for "External links for Service Landing Pages", I think I got it all wrapped up now. It was a right head scratcher, given that it meant working across 5 repos in coordination:
- LocalGov Paragraphs to add the new "Existing page" paragraph type
- LocalGov Base to update templates for the new field
- LocalGov Scarfolk to amend CSS to support the new field without breaking existing "Link with Summary" components
- LocalGov Services to create the new field (and then the Services Landing Page and Services Sublanding Page content types to set that field on both of those).
- Update demo content to use new LocalGov Children field
- I managed to get some reviews to merge requests for LocalGov Base reviewed - I kind of neglected that last month when I was so heavily focussed on the new LocalGov Scarfolk theme.
- We have no
h1in a Subsite Page. The template has ah2and the banner _looks like ah1but is not one. Here's a small merge request to fix that. - I love working on coding standards issues and removing jQuery issues. I hadn't realised we have a submodule in the LocalGov Workflows module with jQuery for our review date. So I created an MR to completely rewrite that jQuery into modern JS.
- When using Live Preview on microsites, we unpublish the microsite each time we click save, since the 'Published" checkbox is not part of our form mode. Well ... it is now.
- Looks like we (by "we" I mean "I") have incorrect logic in LocalGov Base for checking our 404 and 403 statuses under some conditions. Thanks to Colin for creating an MR for that.
- We have some typos in our root
composer.jsonwhich is causing some issues for some people. MR to the rescue. - And we have a patch in our
composer.jsonthat is no longer needed, here's an MR.
Join the "Something nice ..." newsletter
The full title is "Something nice, something quirky, something else".
I send an email once a week with something nice, something quirky, and something else that I think is interesting (all with a web development theme, of course).