The 573rd 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 what's new in the core this week, as well as share some new details about an upcoming admin theme update — which might, in fact, be out as soon as next week, if all goes according to plan!
In other news we've got a new third party ProcessWire module called User Restrictions, which adds support for restricting admin access based on IP or geolocation data. And, as always, we've also got a new site of the week to highlight — this week belonging to a champagne producer from France: Champagne Raymond Demière. More about this absolutely gorgeous website in just a bit, so keep on reading.
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 and a weekly update from Ryan
This week we've got a few relatively minor core updates, and also a new weekly update from Ryan with some news regarding the new admin theme that is coming out very soon — by next week (or end of the week, if you're reading this issue via the newsletter), if all goes well.
What's new in the core this week?
Here's a brief summary of what's new in the dev branch of ProcessWire at GitHub this week:
- Updates for AdminThemeUikit, in preparation for upcoming admin theme update.
- Updates for Inputfield TinyMCE, among other things introducing two new hookable methods:
InputfieldTinyMCESettings::prepareSettingsForOutput
andInputfieldTinyMCE::getModuleConfigInputfields
. - Fix for issue #2066, where a PageTable field with more than one Page as a value would erroneously return empty value if it was also used in the joinFields setting when querying results.
- Fix for issue #2067, where querying pages with an empty value in a field (
title=''
) while also including that same field in the joinFields option would result in an "Unknown column" error from the database.
New admin theme: what to expect
As we're getting close to launching the new admin theme, in his latest weekly update Ryan shares a few key details about said theme — or, rather, a new look we're going to get for our existing AdminThemeUikit, as it is technically not a completely new theme:
- First of all, current AdminThemeUikit design is not going away. If you're worried that things are changing too much, or a new style would be an unwanted surprise for your clients, there's no need to worry; you can keep using current admin style.
- With that out of the way, one of the selling points for the new admin style is no doubt going to be the dark/light mode switch. This has become such a common feature in recent years, and we're very happy to finally have it in ProcessWire's admin interface as well.
- You will also be able to choose a main color for your admin interface. This can be one of our predefined colors, or you can pick your own color using a color picker. This should make it much easier to match the admin interface with, say, brand colors of the client. Again, a much-needed feature for sure.
- In addition to the admin theme itself, the TinyMCE inputfield module is going to get a new skin, blending it seamlessly with other parts of the admin interface.
- Last but not least, customizing the admin theme is going to be easier than ever: there is an option to modify the admin them with a custom CSS file, and you are going to get access to more than 30 CSS variables.
All in all we're quite thrilled about this new admin style. Again if all goes according to plan, by this time next week we should all have access to it.
That's all for our core updates section this week. We'll be back with more updates next week. As always, for more details be sure to check out the weekly update from Ryan at the support forum. Thanks!
New module: User Restrictions
User Restrictions is a brand-new third party module for ProcessWire. This module aims to improve the security of ProcessWire's admin by adding support for restricting admin access by IP address and/or geolocation:
- The module is configured via the $config->UserRestrictions array, with all the available configuration options explained in the module's README file.
- You can choose which user accounts to restrict and which methods of restriction to apply. Currently the module supports IP address and geolocation (latter via a third party service).
- By default login restrictions apply as long as debug mode is disabled, but this behaviour is configurable, should you prefer some other condition instead — or should you want to apply restrictions to debug mode as well.
- The level of feedback provided for end-users can be configured: by default error messages are as generic as possible, but you can enable error display, in which case the module will inform the user if and why a login attempt was prevented.
IP based login restriction is provided by the module right out of the box, but applying geolocation restrictions requires the use of a third party service. The module was built with ipgeolocation.io in mind, but should technically be compatible with almost any service that can be queried with an URL and returns geolocation info as JSON.
Please note that this module is currently considered a beta release. Part of the module has been in use for a long time already, but some parts are completely new, and thus have not yet been extensively tested.
If you'd like to give User Restrictions a try, you can clone or download the module from the UserRestrictions GitHub repository, install it via the modules manager in the admin, or install it via Composer. If you have any questions or suggestions, head down to the User Restrictions support forum thread.
Site of the week: Champagne Raymond Demière
Our latest site of the week is a corporate website built for a champagne producer from France, Champagne Raymond Demière. The brand that bears the name of its founder, Raymond Demière, is now led by Patrick Demière, his son. As champagne producers they combine long-lasting tradition, know-how, and innovation.
Champagne Raymond Demière is much more than a Champagne brand: it is a family story, a love for the Champagne terroir and an invitation to celebrate the precious moments of life.
— Champagne Raymond Demière
The Champagne Raymond Demière website, created by MAHAL KITA, features a gorgeous design, complemented by beautiful typography and some tasteful, stylish transition effects. There's plenty of information on this site about both the producer and brand, as well as their collection of champagnes, and the site is also multilingual, made available in French and English.
As for some behind the scenes details, the front-end of this site has been crafted using the Bootstrap front-end framework as a basis. Animated effects are being powered by the animate on scroll library, while some of the third party ProcessWire modules we could spot on this site include commercial Pro modules ProCache and FormBuilder.
Thanks to the team this project for sharing their work with us, and our congratulations to the owners of the site, Champagne Raymond Demière, for their ProcessWire powered website!
Stay tuned for our next issue
That's it for the 573rd issue of ProcessWire Weekly. We'll be back with more news, updates, and content Saturday, 10th of May. 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