ProcessWire Weekly #492

In the 492nd issue of ProcessWire Weekly we'll check out the latest core updates, introduce a couple of new ProcessWire modules (Custom Inputfield Attributes and Limited Module Edit), and more. Read on!

Welcome to the latest issue of ProcessWire Weekly. This week we'll check out the latest weekly update from Ryan, take a quick peek at what's new in the core (dev branch), and introduce two brand-new modules: Custom Inputfield Attributes by Ryan Cramer, and Limited Module Edit by Robin Sallis.

As always we'll also highlight a new site of the week. This week that site is the blog website Viestijät, which belongs to the Finnish Association of Communication Professionals, ProCom. Keep on reading for more details.

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 and a weekly update from Ryan

Much like last week, this week has also been somewhat quiet in terms of core development. As you can read from the latest weekly update from Ryan, his focus has been primarily on client work, though he did also publish a new non-core module — which we'll cover in more detail in a bit.

There is one new bug fix in the dev branch at GitHub: when creating a new page with FieldsetPage, FieldsetPage's output formatting was by default on, due to it being on for the page it belongs to (forPage); issue report and suggestion for a fix were submitted by Romain Cazier in processwire-issues issue report #1825, and this fix is now included in the dev branch.

That's all for our core updates section this week. We'll have more news next week, and perhaps even a new master release of ProcessWire. In the meantime be sure to check out the weekly update from Ryan for more details. Thanks!

New module: Custom Inputfield Attributes

Custom Inputfield Attributes is a new ProcessWire module created by Ryan Cramer, and first introduced in his weekly update from 13th of October. As Ryan explains in his post, the feature added by this module is something that is somewhat commonly requested by the community, but perhaps not common enough to justify adding it to the core, so he decided to publish it as an optional, non-core module instead.

This module enhances both the interactive and API configurability of fields in ProcessWire (both admin and front-end). It can add custom attributes to Inputfields in ProcessWire, FormBuilder, or other Inputfield forms.

— Ryan

In a nutshell this module allows one to inject custom attributes for the <input> element of an Inputfield, or add them to the wrapper element (one with .Inputfield CSS class). These attributes can be added either via the admin, or via code (API). The module allows you to add completely new attributes (with a few specific limitations), replace existing attributes, or append to the value of existing attributes.

One typical use case for this module is when you need to inject new data-attributes or other custom attributes needed when customizing the behaviour of inputfields with your own code, or when integrating third party JavaScript libraries to the admin, to FormBuilder forms, etc.

If you'd like to give this module a try, you can install it via the built-in modules manager in admin, or clone or download the module's code from the CustomInputfieldAttributes GitHub repository for manual installation.

New module: Limited Module Edit

Limited Module Edit is a brand-new third party ProcessWire module from Robin Sallis. By default users can either manage all modules or none, which also means being able to install new modules or uninstall existing modules — but with this module installed, you can grant users access to edit just the configuration settings of selected modules.

After installing Limited Module Edit you can select which modules should be editable, and the module will automatically generate individual permissions for each of these. Once a user has a role with a permission to edit a module, they will see a "modules" section in the admin, under which they can find their editable modules.

Screen capture of the admin interface with the modules section added by Limited Module Edit.

For more details, be sure to check out the Limited Module Edit support form thread. If you'd like to give this module a try, you can install it via the built-in modules manager in the admin, or install manually by cloning or downloading the source code from the Limited Module Edit GitHub repository.

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

Site of the week: Viestijät

Our latest site of the week is a blog called Viestijät, maintained by the Finnish Association of Communication Professionals, ProCom.

Viestijät is a Finnish blog covering a wide range of themes related to communication — media, competence, current trends, and results from recent studies, just to name a few. Some of the latest posts cover topics such as AI, ethics, brand management, and lobbying. Viestijät has been online and active since 2014, with the latest iteration having just been released.

Content is by far the main attraction of this site, and there's a lot of it, including posts by both the staff of ProCom, and guest writers with different backgrounds and areas of expertise. The design for this site was created by the team at Dog Design, while Avoine was responsible for the initial concept for the site, and the technical implementation, including migration of existing content from WordPress to ProcessWire.

As for behind the scenes details, the front-end of this site is powered by the Tailwind front-end framework, with various dynamic features powered by the htmx JavaScript library. Some of the ProcessWire modules working their magic behind the scenes include Wireframe, ProCache, Markup Metadata, and ProFields Repeater Matrix.

Our congratulations for the whole team behind this project, and of course the client, ProCom – The Finnish Association of Communication Professionals.

Stay tuned for our next issue

That's it for the 492nd issue of ProcessWire Weekly. We'll be back with more news, updates, and content Saturday, 21st of October. 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