The 597 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 a new blog post from Ryan, in which he walks us through some of the best practices related to using ProcessWire's API variables. The post covers the basics in plenty of detail, but there's also some things for advanced users to learn.
In other news we're going to check out a brand-new third party module created by Robin Sallis: Page Tree Select. And, as always, we've also got a new site of the week to highlight. This week that site belongs to Wildkogel-Arena Neukirchen and Bramberg, a family-friendly holiday region in Austria.
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!
In the processwire.com blog this week: best practices for using API variables
This week we've got a new blog post at the processwire.com blog labeled best practices for using ProcessWire API variables. As Ryan mentions in his latest weekly update at the support forum, things the post covers various ways to access the API variables, benefits and drawbacks of each approach, how to add your own API variables, and more.
Here are the main topics covered in the post:
- Using the ProcessWire namespace
- Different ways to access the API variables
- API variables in functions, methods, or templates
- How multi-instance support affects API variables
- Using ProcessWire’s functions API
- Telling your IDE about API variables
- Avoiding collisions with API variables
- Adding your own API variables
A lot of this is likely familiar especially if you've been using ProcessWire for a while, but it's more than likely that some of it isn't; there are quite a few ways to access API vars, and it's not always entirely obvious which is the "best approach", and for what reason.
That's all for our core updates section this week. For more details, be sure to check out the blog post from Ryan, as well as the weekly update from Ryan at the support forum. Thanks!
New module: Page Tree Select
Page Tree Select is a new third-party ProcessWire module created by Robin Sallis. It is an inputfield module that, as the description in the modules directory explains, bears some similarities with the PageListSelect inputfield from the core. There are, though, some key differences:
- This module automatically opens the page tree to the currently selected page. In fact the description states that this was the primary motivation to creating the module in the first place.
- The whole tree is rendered at once, instead of one branch at a time, making it faster to navigate.
- There is a filter input at the top of the tree, making it easy to find the content based on a page title.
- There are separate action buttons for clearing the selection, restoring changed selection, and scrolling to the selected page.

If you'd like to give this module a try, you can install it via the built-in modules manager in the admin, or clone or download the source code from the InputfieldPageTreeSelect GitHub repository. If you have questions or suggestions for the module's author, head down to the Page Tree Select support thread.
There is an autoload module called ReplacePageListSelect bundled with this module —once installed, it will replace all instances of InputfieldPageListSelect in the admin with InputfieldPageTreeSelect. Quite handy if you'd like to go all-in with the migration, but definitely check the module's README in detail before going this route.
Big thanks to Robin for creating this module and sharing it with us!
Site of the week: Wildkogel-Arena Neukirchen Bramberg
Our latest site of the week belongs to Wildkogel-Arena Neukirchen and Bramberg, which is a family-friendly holiday region located in Salzburg province, between the Kitzbühel Alps and Hohe Tauern National Park, in Austria.
The website provides plenty of information about things to do at the area, including summer and winter activities — hiking, biking, skiing, sledding, golfing — as well as less sporty holiday activities, such as museums, theaters, and other sights and attractions. The accommodation finder is quite nice and directly integrated to the site's UI, while certain features, including the web shop, are split into separate sites.
Located at 856 m above sea level in the heart of Hohe Tauern National Park, the town of Neukirchen am Grossvenediger, in the Oberpinzgau region, offers incomparable vacation experiences for recreation seekers and sports lovers alike.
The design of the site is quite stunning, combining a nice color theme and visual style with an interesting layout and some well-placed transition effects. The site is available in German, English, Dutch, and Czech, making it a proper multilingual project; feature that definitely makes sense considering the target group.
As for some behind the scenes details, the front-end of the site is powered by the Uikit front-end framework, while some features are embedded from third parties, including a cookie consent solution from Cookiebot. As for non-core ProcessWire modules, a couple of familiar ones we could spot include Pro modules FormBuilder and ProCache.
Our congratulations to both the team behind this site at 2:getmore, as well as the client, Wildkogel-Arena Neukirchen and Bramberg. A job well done from everyone involved in this project!
Stay tuned for our next issue
That's it for the 597th issue of ProcessWire Weekly. We'll be back with more news, updates, and content Saturday, 25th of October. 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