ProcessWire Weekly #482

In the 482nd issue of ProcessWire Weekly we'll check out ProcessWire 3.0.224, introduce a new third party module for fetching book covers by ISBN number, and more. Read on!

Welcome to the latest issue of ProcessWire Weekly! In this week's issue we're going to take a quick peek into what's new in the latest development version of ProcessWire, 3.0.224, and also check out a brand-new third party module called Image from ISBN.

As always we've also got a new site of the week to highlight, and this week that would be the newly released, ProcessWire powered website of the Portugal based consulting company Shift-up Consulting. Their new, ProcessWire powered website was crafted by SuperTINY agency, with content migrated from an earlier WordPress powered version.

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.224

In his weekly update at the support forum Ryan covers our latest development release, 3.0.224, and provides an estimated timeline for the next stable release of ProcessWire: assuming that everything goes as planned, a new master/stable release should be available within the next couple of weeks!

As always when we're closing in to a stable release, it would be highly appreciated if you could take the time to give the latest dev branch version a spin, and report any issues you may encounter via the processwire-issues GitHub repository. Thanks in advance — your help and input is indeed very much appreciated!

What's new in 3.0.224?

Compared to our previous development release, 3.0.223, this version includes a total of 25 new commits and resolves 17 reported issues. It also improves PHP 8.2 compatibility of the core, includes updates for code comments, and improves Page::matches() to be more in line with Page finding methods by utilizing database methods instead of in-memory features.

One new feature addition this week is the wirePageId() function (also pageId(), if you have Functions API enabled). This method returns the ID of provided Page object, 0 if it is a NullPage (placeholder object for non-existing pages) or false if the argument is not a Page. Among other things it can be used to check if a variable contains a valid page:

// here's an old-school check for a valid page
if ($maybe_a_page instanceof Page && $maybe_a_page->id) { ... }

// this is the same thing using wirePageId
if (wirePageId($maybe_a_page)) { ... }

That's all for our core updates section this week. We'll be back with more updates next week. In the meantime be sure to also check out the weekly update from Ryan at the support forum. Thanks!

New module: Image from ISBN

Image From ISBN is a brand-new third party module created by Alexandre Texier. What this module does is in the name: when provided with the ISBN identifier (International Standard Book Number) for a book, it can download the cover image automatically.

The way this module works is that you select a template, an image field, and a text field for ISBNs via the module's configuration settings. Now when you save a page using selected template with a populated value in your ISBN field, the cover image is downloaded from Open Library API and saved to the image field.

As always some extra caution is recommended when installing and using modules that are not in the official modules directory. That being said, if you'd like to give this one a try, you can clone or download it from the ImageFromISBN GitHub repository.

Big thanks to the module author Alexandre Texier for creating this very useful module and making it available for the ProcessWire community!

Site of the week: Shift-up Consulting

Our latest site of the week belongs to Shift-up Consulting, a consultancy from Portugal specializing in government incentives and financing. In other words they help their customers find suitable tax incentives and public programs, and help them fulfill the application requirements, regulations, etc.

The newly released website of Shift-up Consulting was created by SuperTINY agency, and it is a beautifully designed experience combining eye-catching visual elements with clean and easy to follow page structure. The site includes detailed list of available incentives, covers services provided by Shift-up Consulting, has a news section, and of course also provides an easy way to contact the experts at Shift-up.

As for behind the scenes details, the showcase forum thread by Helder Cervantes of SuperTINY lists some of the modules used to power this site, such as Repeater Matrix from ProFields and RockFrontend. For this project hundreds of pages of content were migrated from an old WordPress setup, and in order to keep old URLs functional they were imported into the Redirects module.

Thanks to Helder Cervantes of SuperTINY for introducing this brilliant project to us, and our congratulations for their new, ProcessWire powered website and best wishes in their future endeavors for the client, Shift-up Consulting!

Stay tuned for our next issue

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