ProcessWire Weekly #510

In the 510th issue of ProcessWire Weekly we'll check out ProcessWire 3.0.236, introduce a new third party module PageFinder Depth from Robin Sallis, and more. Read on!

Welcome to the latest issue of ProcessWire Weekly. In this week's issue we are going to check out what's new in the latest dev version of ProcessWire, 3.0.236, and introduce a brand-new third party module created by Robin Sallis: PageFinder Depth.

As always we've also got a new site of the week to check out, and this week that is the website of the consumer electronics manufacturer and enterprise AI innovator called LatticeWork. More about their newly released website in just a bit, so keep on reading.

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: ProcessWire 3.0.236

In the latest weekly update at the support forum Ryan introduces ProcessWire 3.0.236, which is our latest dev release. This release contains numerous implemented feature requests and merged pull requests, some of which we've already covered in Weekly issues #507, #508, and #509.

What's new in the core this week?

Based on Ryan's latest update and the weekly commit log for the dev branch GitHub, there are some very nice feature additions this week:

  • New option to open and close a "family" of repeater items together when using depth support for items. This feature can be toggled on or off via field settings.
  • New configuration setting that enables you to disable the automatic scrolling to newly added repeater items.
  • Support for using field values from the containing page ("for page") in repeater item inputfield dependencies through the forpage syntax (forpage.field=value).
  • PHP 8.2 compatibility update for the Parsedown Extra library bundled with core.

Additionally this version includes a fix for an issue where matching empty page field values was no longer working as expected within inputfield dependencies. This issue affected core versions between 3.0.210 and 3.0.235.

That's all for our core updates section this week. For more details, be sure to check out the weekly update from Ryan at the ProcessWire support forum. Thanks!

New module: PageFinder Depth

PageFinder Depth is a new third party module by Robin Sallis. This module adds support for finding and sorting pages by their depth, which is essentially defined as a number of parents: home page has the depth of 0, direct children of the home page have a depth of 1, and so on.

Once this module installed, you can start querying pages using the "depth" property. Or, in case your site already has a field called depth, you can rename this property via module settings to something else.

$items = $pages->find("depth=2");
$items = $pages->find("template=basic-page, depth>1, depth<4");
$items = $pages->find("template=product, sort=depth");

Note that this module requires the core PagePaths module, which is included with the core package but uninstalled by default. Also one limitation to consider is that OR-groups are not supported for depth queries.

If you'd like to give this module a try, you can clone or download it via the PageFinder Depth GitHub repository. If you have any questions or require assistance with the module, check out the PageFinder Depth support forum thread.

Big thanks to Robin for developing this module and sharing it with us!

Site of the week: LatticeWork

Our latest site of the week belongs to a company calld LatticeWork. They are a consumer electronics manufacturer and enterprise AI innovator behind two product lines: Amber devices and apps for home users, and VAISense for business users.

The LatticeWork website, which features a very stylish and modern design and covers both the company and their products in plenty of detail, was created by Freehive and recently featured in a showcase forum thread at the ProcessWire support forum. The project involved replacing an earlier, WordPress powered website with a new one, and — according to the sites directory entry — various open source tools were used for creating content on the site; more specifically the 3D graphics tool Blender and vector graphics software Inkscape.

As for behind the scenes details, the front-end of this site was largely custom-built, without the help of a full-blown front-end framework. When it comes to ProcessWire modules, there are a few that were also mentioned in the showcase forum thread — Fluency, Jumplinks, SEO Maestro, SearchEngine, and ProFields. This site is also using ProcessWire's native multilingual features, taken even further by Fluency's automatic, DeepL AI powered translations.

Thanks to the folks at Freehive for sharing this project with us, and our congratulations to the client, LatticeWork, for their new, ProcessWire powered website. Splendid job from everyone involved in this project!

Stay tuned for our next issue

That's it for the 510th issue of ProcessWire Weekly. We'll be back with more news, updates, and content Saturday, 24th of February. 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