In the 435th issue of ProcessWire Weekly we'll check out the latest core updates, introduce a new third party module, and more. Read on!
Welcome to the latest issue of ProcessWire Weekly! In this week's issue we'll check out the latest weekly update from Ryan, as well as the latest dev branch updates, which mostly focus on improving the built-in InputfieldForm feature.
In other news we're going to take a closer look at a brand new third party module developed by Mark Evans, CustomDependSelects, and also check out a new site of the week belonging to the Freising, Germany based print and web design agency typneun.
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 update from Ryan
In this week's weekly update — which you can find in its entirety at the support forum — Ryan talks a bit about a chance encounter with a ProcessWire powered website, and briefly outlines the weekly core updates in the dev branch.
We don't want to spoil the surprise about the site mentioned above just yet, so check out the weekly update for more details. As for the weekly core updates, they are not something that most users will need, but still useful for specific use cases:
- InputfieldForm class was improved in a few ways, including a new isSubmitted() method. This method can be used to check if a form has been submitted, and it also accepts submit button name as an argument, if you'd like to check if a specific button was used to submit the form.
- InputfieldWrapper class got a new getErrorInputfields() method, which returns an array containing the inputfield objects within the wrapper that had errors, instead of just the error messages.
That's all for our core updates section this week, but be sure to also check out the weekly update from Ryan at the support forum. Thanks!
New module: CustomDependSelects
CustomDependSelects is a brand new third party module from Mark Evens. This module adds new capabilities to page reference field dependent selectors, where the selectable options available in one field depend on the value of another field:
If you want to refer to the id of the current repeater item, you can use syntax
If you want to permit access to specific roles (in addition to superuser), you can use syntax
If you'd like to give this module a try, you can grab it from the CustomDependSelects GitHub repository. The README at GitHub also provides detailed introduction into what the module does and why you may need it, as well as a general purpose introduction to dependent selectors and the gotchas and issues involved in their use. If you have any additional questions, head down to the CustomDependSelects support forum thread.
Note that CustomDependSelects is currently considered an alpha release, so extra caution is recommended. The module requires at least ProcessWire version 3.0.200.
Big thanks to Mark for developing this module and sharing it with us!
Site of the week: typneun Designagentur
Our latest site of the week belongs to typneun Designagentur, a web and print agency from Germany.
As an agency typneun are clearly big fans of ProcessWire — according to the sites directory entry all their client projects are running on ProcessWire, and they've been using it for a decade already. Their client base consists mainly of small and medium sized companies at the Bavaria area, but they have clients at other locations as well.
The newly redesigned typneun website is, simply put, gorgeous. It's clean and modern, features bold and stylish typography, and there are a number of animation effects and small visual elements that, when put together, give it a very polished look and feel.
As for behind the scenes details, this site is using the popular caching and minifying solution ProCache. The front-end of the site appears to be hand crafted, with a few third party dependencies, such as PhotoSwipe and Masonry.
Big thanks to the folks at typneun for sharing this site with us — it's a truly stunning project, and we are proud to have it featured in our sites directory, and also super happy to hear how much they've enjoyed using ProcessWire!
Stay tuned for our next issue
That's it for the 435th issue of ProcessWire Weekly. We'll be back with more news, updates, and content Saturday, 17th 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!