ProcessWire 3.0.190 core updates

ProcessWire 3.0.190 has 15 commits relative to 3.0.189 and contains a mixture of issue resolutions and feature additions. We’ll review these below, in addition to updates for the PageAutosave and ProFields Table modules.

In terms of core updates, this post covers the differences between dev branch minor versions 3.0.189 and 3.0.190. The last version covered by a blog post here was 3.0.184, so if you don't follow the weekly forum posts but are interested in what else is new since 3.0.184 (and there has been a lot), be sure to read ProcessWire Weekly editions #384 and newer, in addition to the weekly forum posts.

Feature additions in 3.0.190

  • Added a new option to repeaters that enables you to specify whether repeater item controls (delete, insert, clone, etc.) should be always visible or visible only when the header is hovered. This can be found on the "Details" tab when editing a repeater/matrix field in the "Repeater Editor Settings" > "When to show repeater item controls/actions".

  • Added $pages->find() support for "id" selectors like id.sort=2|1|3 which ensures the pages are returned in the order given by the IDs. Previously you could only do id=2|1|3 without a guaranteed order.

  • Adding a field to a template using the "Send to template(s)" option in the field editor now updates the Template's modified date.

  • Added support for searching subfields with PageAutocomplete using the field.subfield syntax.

  • The $pages->add() method has been updated to pull a fresh copy of the page from the database after it has been added. This helps with some API usages where returned $page may have not been fully initialized in some cases.

  • As mentioned in an earlier forum post, this version enables you to specify a background color for RepeaterMatrix item labels with a hex color code in your repeater matrix item labels. For instance added #FF0000 to the repeater item label would make the repeater item header background color red (see screenshot further down in this post). I recommend sticking to background colors that work well with white/foreground text colors.

  • Added $pages->raw()->col($id, $col) which returns the raw value for a native pages table column for a given page ID. Also added $pages->raw()->cols($id, $cols) which does the same thing but returns multiple column values in an array. Like other methods added by the PagesRaw class, it can enable much faster performance for cases where you need a native column value but don't want to load the page. This addition is mostly for internal core use (moreso than the other raw methods), but perhaps it will occasionally come in handy for others too.

Custom background colors for RepeaterMatrix items, plus optionally hide controls/actions for non-hovered item labels.

Issue resolutions in 3.0.190

  • Fixed issue with WireHttp hanging when using the socket method (fix via Radon8472).

  • Fixed several PHP 8.1 deprecation notices.

  • Fixed PageAutocomplete matching everything when using a field it doesn't recognize.

  • Fixed $pages->findRaw() error on fields that lacked a DB table.

  • Fixed missing repeater item outlines/borders in AdminThemeUikit.

  • Fixed a multi-language pagination issue when a pagination prefix other than "page" was used for the default language.

  • Removed jQuery dependency for parent modal windows (fix via Teppo).

PageAutosave + LivePreview v6

This week there is also an update posted to the PageAutosave + LivePreview module in the ProDrafts, ProFields and ProDevTools boards. This new version adds the following:

  • Adds an autosave on/off toggle that appears at top of page editor screen.

  • Adds a confirm dialog when user clicks live preview but has autosave off.

  • Adds an option to save previous changes when autosave was off and is turned on.

  • Adds a configuration setting for default autosave toggle on/off state.

  • Adds a configuration setting to specify whether the live preview window should close or remain open when the page editor window unloads.

A small toggle above the page headline lets you turn autosave on or off.

If autosave happens to be off when you try to use live preview, it will prompt you to enable it. If there are unsaved fields, it will also ask you about them before launching the live preview.

In case you missed it earlier, here's a video posted by Jonathan Lahijani (in the forum) demonstrating his use of the PageAutosave + LivePreview module with his page builder:

ProFields Table v22

A new development version of ProFields table was posted in the ProFields board. This version adds the following:

  • New support for a row cloning feature (via Robin S). You can enable it in the field editor "Details" tab, "Settings & Actions" fieldset.

  • Added support for a new "Toggle" column type, which is essentially the same as the recently added Toggle field in the core.

  • Improvements to Uikit admin theme output, various JS improvements, fix for date formats issue and other minor improvements and fixes.

Thanks for reading, have a great weekend and remember to stop by ProcessWire Weekly for the latest ProcessWire news, updates and site of the week.

Post a comment


PrevNew Repeater and Repeater Matrix features


This week we have some very useful new additions to both the core Repeater Fieldtype and the ProFields Repeater Matrix Fieldtype. This post covers all the details along with a couple of brief demonstration videos.  More 

Twitter updates

  • ProcessWire 3.0.192 (dev branch) contains 11 issue fixes and 5 pull requests, over 20 commits— More
    7 January 2022
  • ProcessWire 3.0.191 core updates: updates to the installer and the profile exporter module— More
    24 December 2021
  • This week ProcessWire went on a diet, trimming the core size from 15.5 MB down to 7.5 MB by moving optional site profiles into their own GitHub repos— More
    17 December 2021

Latest news

  • ProcessWire Weekly #402
    In the 402nd issue of ProcessWire Weekly we'll check out ProcessWire 3.0.193, highlight recent ProcessWire projects and resources, and more. Read on! / 22 January 2022
  • ProcessWire 3.0.190 core updates
    ProcessWire 3.0.190 has 15 commits relative to 3.0.189 and contains a mixture of issue resolutions and feature additions. This post covers them all, in addition to updates for the PageAutosave and ProFields Table modules.
    Blog / 3 December 2021
  • Subscribe to weekly ProcessWire news

“We chose ProcessWire because of its excellent architecture, modular extensibility and the internal API. The CMS offers the necessary flexibility and performance for such a complex website like ProcessWire offers options that are only available for larger systems, such as Drupal, and allows a much slimmer development process.” —xport communication GmbH