ProcessWire Weekly #479

In the 479th issue of ProcessWire Weekly we're going to check out what's new in the core this week and introduce a new third party fieldtype called draw map features. Read on!

Welcome to the latest issue of ProcessWire Weekly. In this week's issue we'll take a quick peek at what's new in the development branch of ProcessWire this week, outlining the fixes and feature additions that Ryan and other contributors have been working on.

In other news well also check out a recently released third party fieldtype module Draw Map Features, developed by NB Communication, and — as always — we've also got a very interesting new site of the week to check out.

Thanks to all of our readers for being here with us again, and as always, any feedback is most welcome – please don't hesitate to drop us a line if there's anything in your mind you'd like to share with us. Enjoy our latest issue and have a great weekend!

Latest core updates

This week's updates were minor enough not to warrant a core version bump, but there are still a few core updates that we'd like to share with you folks. And while there's no exact date set for this either, it's also worth mentioning that we're getting very close to new stable/master release.

So what's new in the core this week?

Here are the bug fixes introduced to the core this week:

  • an additional update for recently added "is zero plural or singular" language support feature
  • a fix for an issue where the User lister was forgetting current pagination page on page reload
  • a fix for how core PageFinder class treats empty or zero values when resolving selector queries

As for feature updates, here's what's new this week:

  • added support for sorting queried pages by page path or URL when the PagePaths module is installed
  • added support for providing null as an argument to InputfieldForm::getErrors() in order to clear the internal errors cache

As usual there were also some somewhat less prominent (but important nevertheless) housekeeping style updates, including a few clarifications to code comments — which will eventually be reflected in the official docs, generated from code comments — and minor updates for a few Process modules.

That's all for our core updates section for this weekly issue. For more details, be sure to check out the weekly update forum post from Ryan as well. Thanks!

New module: Draw Map Features Fieldtype

Draw Map Features is a new module by NB Communication. As the modules directory entry for this module explains, it stores a GeoJSON FeatureCollection and its bounds drawn on a MapLibre map. It does this using the MapLibre GL JS library to render the map, and the mapbox-gl-draw plugin to draw the features.

If all that sounds somewhat technical, the gist of it is that you can use this fieldtype to display a map in the admin, add various supported shapes on top of it, store map data, and later use it to query pages matching any stored values. For more details, be sure to check out the README at the project repository, which covers the usage of this field, as well as outlines the steps required to set up your own map.

A screenshot showcasing the use of this Fieldtype (and included Inputfield) in the admin. More screenshots, can be found from the dedicated support forum thread.

If you'd like to give this module a try, you can clone or download it from the FieldtypeMapDrawFeatures GitHub repository, or install it via the built-in modules manager in admin. Be sure to check out included instructions; most importantly you'll need to provide a MapLibre JSON style for the map.

Big thanks to NB Communication for sharing this project with us! It is a very interesting and definitely useful tool, and we're glad to have it available.

Site of the week: Bromacker

Our latest site of the week is that of the BROMACKER project. It is a research project staffed by an interdisciplinary team of scientists and specialists, dedicated to investigating the history of life on Earth both on-site, and in their research labs in the museums and universities at Germany.

The BROMACKER project is funded by the Bundesministerium für Bildung und Forschung (BMBF), and their new, ProcessWire and Next.js powered website was developed by Timo Hausmann.

The special thing about the BROMACKER project is that research and knowledge transfer are closely intertwined here. This allows a broad audience to gain insights into a 290 million year old past and into current scientific discoveries!

— The BROMACKER project website

As the sites directory entry for the BROMACKER project explains, a key part of the site is an interactive 3D scan of a dinosaur excavation site, complete with video and sounds of scientists working on said excavation site. The website also includes short videos that provide some insight into the scientists' work.

As for behind the scenes details, the BROMACKER project website utilizes ProcessWire as a headless CMS, with a custom JSON API built on top of it, while the front-end is powered by JavaScript — the Next.js framework and react-three-fiber, to be precise.

Big thanks to Timo Hausmann for sharing this amazing site with us — fantastic work from everyone involved in this project. We're thrilled to have this site featured in our sites directory, as well as our latest site of the week!

Stay tuned for our next issue

That's it for the 479th issue of ProcessWire Weekly. We'll be back with more news, updates, and content Saturday, 22nd of July. As always, ProcessWire newsletter subscribers will get our updates a few days later.

Thanks for staying with us, once again. Hope you've had a great and productive week, and don't forget to check out the ProcessWire forums for more interesting topics. Until next week, happy hacking with ProcessWire!

Post a comment