ProcessWire Weekly #508

In the 508th issue of ProcessWire Weekly we'll check out what's new in the core this week, introduce a new third party module called FieldtypeGrapick, 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, which include some very interesting new features, and we'll also introduce a newly released third party module called FieldtypeGrapick.

As usual, we've also got a new site of the week to introduce, and this week that site is one created by Ryan Cramer for the Bohemian Highway Travel Company. This beautiful website provides plenty of information — and plenty of beautiful scenery — for anyone interested in unique tours in the wine country in Northern California.

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

In this week's update Ryan introduces some smaller feature additions pushed to the core this week. Smaller doesn't necessarily mean less important, and they are quite likely to be useful, so here's a summary of what's new since last week:

  • The configuration and info page for modules in admin now allows you to view the README.md and CHANGELOG.md files for each module that have said files present. Viewer is opened by clicking a link at the bottom of the module info section.
  • WireHttp core class now supports some additional, less often needed but still important HTTP methods — specifically OPTIONS, CONNECT, and TRACE.
  • ImageSizerEngineIMagick now provides a new hookable imSaveReady() method, which third party code can use to access the uncompressed image data before resize. Identical hookable method already existed for ImageSizerGD.
  • InputfieldSelect and InputfieldSelectMultiple now accept horizontal rules (<hr> tags), which can be used to visually group options: $input->addOption('---').

That last update, horizontal rules in select elements, is a relatively new browser feature. You can read more about it (and check out some examples) via the Chrome blog, from a post labeled Select element: now with horizontal rules.

That's all for our core updates section this week. For more details, be sure to check out the weekly update from Ryan at the ProcessWire support forum. Thanks!

New module: FieldtypeGrapick

FieldtypeGrapick is a new third party ProcessWire module created by Jacob Gorny. This module integrates the Grapick gradient picker (which was written in vanilla JavaScript) with ProcessWire by providing an inputfield that makes use of Grapick, and a fieldtype that takes care of storing and returning resulting values.

User interface provided by the Fieldtype Grapick module. Screen capture by module author Jacob Gorny.

In a nutshell this module provides a very flexible tool for defining all sorts of gradients, and also a comprehensive API for accessing said values — or configuring new gradients programmatically. The support forum post introducing FieldtypeGrapick outlines the API in great detail, so be sure to check it out for more information.

If you'd like to give this module a try, you can clone or download it from the Fieldtype Grapick GitHub repository, or install it via the built-in modules manager in the admin. For support requests and details about the API usage of the module, head down to the FieldtypeGrapick thread at the ProcessWire support forum.

Thanks to Jacob Gorny for creating this module and sharing it with us!

Site of the week: Bohemian Highway

Our latest site of the week belongs to Bohemian Highway Travel Co. They are a travel company that provides tours which, in their own words, invite guests to take a peek behind the curtain of wine country. They are based in Sonoma County in Northern California.

Our excursions guide you to off-beat places, hosted by the very people behind them. Steeped in local history and a celebration of the land with a love for the local ecosystems, every experience is a unique adventure.

— Bohemian Highway Travel Company

The Bohemian Highway website was created by Ryan Cramer, and has just been added to the ProcessWire sites directory. It features a beautiful and modern design, contains plenty of quality content — covering the company, provided services, FAQs, and more — as well as video and image material, and has a nice mobile-first feel to it. Overall this is a beautifully designed, smoothly working website with plenty of interesting content.

Moving on to behind the scenes details, the front-end of this site is powered by version 3 of the Uikit front-end framework. As for ProcessWire modules, these include ProCache, User Activity, Page Autosave and Live Preview, WireSitemapXML, and Less. The booking system, which integrates very nicely to the main website, is a third party software-as-a-service product called FareHarbor.

Thanks to Ryan for sharing this project with us, and our congratulations to the client, Bohemien Highway Travel Company, for their new, ProcessWire powered website!

Stay tuned for our next issue

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