In the 447th issue of ProcessWire Weekly we'll share the latest core updates, introduce a new third party module called RockVideoThumbnailGrabber, and more. Read on!
Welcome to the latest issue of ProcessWire Weekly. This week's issue we're going to take a closer look at the latest ProcessWire development version, 3.0.208, and introduce a brand new third party module called RockVideoThumbnailGrabber.
As always we've also got a new site of the week; a tourist portal for visitor information, events, guides, accommodation and activities in the West Highland Peninsulas at the West Coast of Scotland. Keep reading for a closer look at 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!
Weekly core updates: ProcessWire 3.0.208
The topics covered in the latest weekly update from Ryan include a new development version of the core, ProcessWire 3.0.208, and new versions of some of his Pro modules: FieldtypeTable, FieldtypeTextareas, FieldtypeMultiplier, and FieldtypeFunctional.
Module updates in summary
Aforementioned Pro modules now include support for InputfieldTinyMCE, the inputfield built to replace CKEditor in the core at some point in the future. With these updates all Pro modules should now be compatible with TinyMCE.
The latest versions of said Pro modules also include other updates, including PHP 8.1 support for FieldtypeFunctional and an all-new "show inputs without fieldset" setting for Textareas.
Unrelated to the Pro module updates, Inputfield TinyMCE itself has also been updated to version 6.0.9. This updates fixes various bugs, so if you're using this module, it would be a good idea to grab the latest version.
Weekly core updates (ProcessWire 3.0.208)
Here's a brief summary of what's new in the dev branch this week:
- A new hookable method getPage() for the PageFrontEdit module, ProcessWire's built-in front-end editor.
- New utility method Debug::toStr() for converting various variable types to a string, intended to make debugging easier.
- Various improvements for admin notices:
- support for separate label and text (
$this->message(['label' => 'text'])),
- new flag Notice::allowDuplicate (
- improved output when the notice content is an object or an array, and
- support for specifying an icon (
- support for separate label and text (
- Fixes for the $pages->findJoin() method, affecting the handling of multivalue Page reference fields.
That's all for our core updates section this week. For more details, be sure to check out the weekly update at the support forum, and feel free to also review the weekly dev branch commit log at GitHub. Thanks!
New module: RockVideoThumbnailGrabber
RockVideoThumbnailGrabber is a brand-new third party module developed by Bernhard Baumrock. It's an easy to use utility module that makes it easy to grab a thumbnail (or preview) image for a YouTube video and cache it locally in an image field.
Getting started with this module is quite simple — you'll just need to provide it with the name of a URL field, and the image field that is used to store the thumbnail:
// in init.php $grabber = $modules->get("RockVideoThumbnailGrabber"); $grabber->add("video_url", "thumbnail_image");
With this init code in place, whenever a page with a link to a YouTube video in video_url field is saved, the module will add corresponding thumbnail image from YouTube to the thumbnail_image field of the page (as long as the image field is not already populated).
Big thanks to Bernhard for developing this useful module and sharing it with us!
Site of the week: West Highland Peninsulas
Our latest site of the week is a tourist info portal for a collection of regions on the West Coast of Scotland, the West Highland Peninsulas. This site was developed by NB Communication for the Sunart, Moidart, Morvern, Ardgour and Ardnamurchan Tourist Association.
The West Highland Peninsulas are a collection of regions on the remote, rugged and dramatic West Coast of Scotland. This website is the tourist association's portal for essential visitor information, events, guides, accommodation and activities in the area.
— sites directory entry for the West Highland Peninsulas website
For anyone planning to visit the West Highland Peninsulas, this site is definitely worth visiting first. In addition to loads of interesting and useful information about the area, its tourist attractions, and local establishments, one can also find many truly gorgeous photographs of the area, as well as the recordings of the Coastal Connections podcast.
As for behind the scenes details, the front-end of this site is built using the Uikit front-end framework, while some of the third party modules used on the site include Markup Content Security Policy and the commercial Pro module ProCache.
Thanks to the folks at NB Communication for sharing this project with us, and our congratulations to the team behind the site, and of course the client for their new, ProcessWire powered website!
Stay tuned for our next issue
That's it for the 447th issue of ProcessWire Weekly. We'll be back with more news, updates, and content Saturday, 10th of December. 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!