ProcessWire Weekly #505

In the 505th issue of ProcessWire we'll check out what's new in the core this week, introduce a couple of new commercial modules for ProcessWire, and more. Read on!

Welcome to the latest issue of ProcessWire Weekly! As usual, we're going to kick things off by checking what's new in the core this week. Though the core version remains the same as last week, 3.0.234, there's plenty to discuss in terms of new features and such.

In other news we'll introduce a couple of brand-new, commercial third party modules, both of which were created by Bernhard Baumrock and are now available as a part of the RockSuite modules bundle: RockIcons and RockSettings. And, as always, we'll also highlight a new site of the week; one that belongs to the German locking and security company Huber Schließtechnik.

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

The latest weekly update from Ryan covers what's new in ProcessWire's dev branch at GitHub this week, and although there's no version bump for this week, the list of new feature additions is quite impressive. Here's a summary of what's new this week:

  • New hookable methods Pages::moveReady(), Pages::restoreReady(), and Pages::renameReady().
  • New property $page->sortPrevious, which contains the old value when a page's sort value has been changed runtime.
  • Support for providing a callback for $pages->save(), the value of which should be a name of a function found from the $pages class, or — probably more useful for non-core development — a callable to execute after saving the page.
  • Support for custom page classes for repeater items, e.g. RepeaterPage objects, as discussed in processwire-requests issue #239. This also includes classes derived from Repeater, which primarily means RepeaterMatrixPage and FieldsetPage.

Custom page classes for Repeater, RepeaterMatrix, and FieldsetPage

Much of this week's update from Ryan is dedicated to covering that last bullet, but the long story short is that if you want to use a custom page class for a Repeater item, the class name should match the repeater field name and have a RepeaterPage suffix:

class MyFieldRepeaterPage extends RepeaterPage {}

RepeaterMatrix and FieldsetPage custom classes follow the same naming rule, except that instead of RepeaterPage they use RepeaterMatrixPage or FieldsetPage as suffix:

class MyFieldRepeaterMatrixPage {}
class MyFieldFieldsetPage {}

That's all for our core updates section this week. For more details and additional tips for using custom page classes with Repeater items and their relatives, be sure to also check out the weekly update from Ryan at the ProcessWire support forum. Thanks!

New commercial modules: RockIcons and RockSettings

This week there are a couple of brand-new third party modules available, both of which were created by Bernhard Baumrock and have been made available either bundled with his other commercial modules in RockSuite, or as single-module single or unlimited site licenses. Said modules are RockIcons and RockSettings, and here we'll take a quick look at what they are are all about.

RockIcons for easy SVG icon selection

RockIcons provides a field for selecting icons from the selection of SVG icons uploaded to your site, and more specifically into the /site/templates/RockIcons/ directory.

This module provides a slick user interface with a real time search feature, which is no doubt handy for cases where you've got plenty of icons. And, as Bernhard mentions in the module's introduction post at the ProcessWire support forum, there's not much overhead here your icons are just SVGs, and there's no need to load icon fonts etc.

RockSettings for managing settings for your site

RockSettings adds support for managing global site settings via a settings page, as well as accessing said settings via $settings variable or the settings() function. You can edit your site's settings by clicking the gears icon added to the admin top bar.

Since the settings page is indeed a regular page, you can easily customize it, and it has all the features that a page normally has — such as managing files, which means that you can upload your site's logo files etc. to the settings page. There is also a redirects feature for creating short links for your content.

For more information about RockIcons and RockSettings, check out the support forum threads linked above. If you'd like to give either (or both) of these modules a try, you can find details about current prices and purchase options from baumrock.com.

Site of the week: Huber Schließtechnik

Our latest site of the week belongs to Huber Schließtechnik, which is a company based in Freising, Germany. Their services include mechanical, mechatronic and digital locking systems, access controls, radio systems, alarm systems, video systems, and other security technology.

The website of Huber Schließtechnik was created by another Freising based company, typneun Designagentur. This website provides information about the company, briefly covers their history, and includes details about the services they offer for both private and business clients. And, in addition to all that, there's also a very nice and modern design, which makes browsing the site quite an enjoyable experience.

As for behind the scenes details, the front-end of this site appears to be largely custom built, or perhaps based on an in-house framework of sorts. Most prominent third party dependencies on the front-end side of things include jQuery and Slick carousel, and as for non-core ProcessWire modules, the only one we were able to spot on this site is the commercial Pro module FormBuilder.

Thanks to the folks at typneun Designagentur for sharing this project with us, and our congratulations to the client, Huber Schließtechnik, for their splendid new ProcessWire powered website!

Stay tuned for our next issue

That's all for the 505th issue of ProcessWire Weekly. We'll be back with more news, updates, and content Saturday, 20th of January. 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!

This post has 1 comment:

Bernhard on Sunday 14th of January 2024 16:13 pm

Great read as always :) Thx for mentioning RockIcons and RockSettings!

Post a comment