The 643rd issue of ProcessWire Weekly brings in all the latest news from the ProcessWire community. Modules, sites, and more. Read on!
Welcome to the latest issue of ProcessWire Weekly! In this week's issue we're going to check out the latest core updates, as well as introduce a new third-party ProcessWire module created by Maxim Semenov: Kern, a tool for page ownership delegation and moderated frontend editing.
As always we've also got a new site of the week to highlight, this week belonging to the Dutch interior design architecture and furniture manufacturing company Van Bommel Interieur. Keep on reading for more details about this gorgeous website.
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
There's no version bump for the core this week, but we do have a new weekly update from Ryan — and a toptal of 21 new commits for the dev branch at GitHub.
As Ryan explains in his post, our current focus is on clearing the processwire-issues repository, which as of this writing has roughly 160 open issues: resolving those that are still valid, and closing the ones that are no longer relevant. As such, the commits made to the core this week are bug fixes, admin theme improvements, and PHPDoc updates.
In an ideal world, we’d not have more than a dozen open issue reports any given time, so we may just get there!
— Ryan
For specifics about the issues covered this week, check out the dev branch commit log for the past week.
That's all for our core updates section this week. For more details, be sure to also check out the weekly update from Ryan at the support forum. Thanks!
New module: Kern
Kern is a new third-party ProcessWire module created by Maxim Semenov. In a nutshell this module makes it possible to set up a system where authenticated users can request ownership of a page, and suggest changes to configured fields. Suggestions are stored separately, with changes going live only after moderator approval.
Kern also keeps a record of all claims, codes, revisions, decisions, and policy changes in an (immutable) event history, and handles conflicts — e.g. if a page is modified between request and approval — automatically. The module supports both regular and multi-lingual native fields, file and image fields, and select non-core fields: Rapid, Combo, Table, Repeater, and Repeater Matrix.
[Kern] is made for directories, marketplaces, company profiles, products, collections, press releases, job posts and other sites where an authenticated user should propose changes without receiving direct ProcessWire page-edit access.
— Maxim Semenov
What Kern doesn't provide out of the box is front-end markup — and this is by design. The module provides a rather comprehensive API that you can use to e.g. check if a user can manage a page, check editable fields, and submit revisions, while things like form markup are the responsibility of the site:
$kern = $modules->get('Kern');
$pageToManage = $pages->get(1234);
if ($kern->canManage($pageToManage, $user)) {
$editableFields = $kern->editableFields($pageToManage, $user);
// Render fields and use ProcessWire's native CSRF protection
}Once you've handled user input, you can use the API to submit a new revision for moderator approval:
$revision = $kern->submitRevision($pageToManage, [
'title' => 'Corrected company name',
'summary' => 'Updated company description',
], 'Submitted by the profile owner', $user);For more code samples check out the EXAMPLES.md file bundled with the module.
If you'd like to give Kern a try, you can install it via the built-in modules manager in the admin, or clone or download the module's source code from the Kern GitHub repository. If you need help getting started or have questions for the author, head down to the Kern support forum thread.
Big thanks to Maxim for creating this module and sharing it with the ProcessWire community!
Site of the week: Van Bommel Interieur
Our latest site of the week belongs to Van Bommel Interieur — an interior design architecture and furniture manufacturing company based in Nuenen, Netherlands. They specialize in high-end, tailored interior solutions for private residential properties and corporate commercial spaces.
Van Bommel Interieur stands for top-notch customization and collaboration. Sound advice, extensive knowledge of materials, craftsmanship, and customer service are our cornerstones.
— Van Bommel Interieur in ProcessWire sites directory
Designed by AVM Visuele Communicatie and developed by X-com, the Van Bommel Interieur website features a clean and modern design with gorgeous typography, plenty of information about the company and their projects, and a lot of video and photo material showcasing the works of Van Bommel, as well as their process and premises. All in all this is a trulky beautiful showcase site that feels full, but has no extra fluff.
As for some behind the scenes details, the front-end of the Van Bommel website is powered by the Foundation front-end framework. Most of the content appears to be built using a block builder, and one familiar non-core ProcessWire module that we could spot in action was the commercial Pro module FormBuilder.
Our congratulations to Van Bommel Interieur for their ProcessWire powered website, as well as for the team behind this project at AVM Visuele Communicatie and X-com for a job well done! We're happy to have this project featured in our sites directory.
Stay tuned for our next issue
That's it for the 643rd issue of ProcessWire Weekly. We'll be back with more news, updates, and content Saturday, 12th of September. 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