ProcessWire Weekly #536

The 536th 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 kick things off by checking out what’s new in the core and share the latest weekly update from Ryan.

In other news we'll take a closer look at a new third party module that handles role based login redirects. And, as always, we’ll also highlight a new site of the week; this time belonging to the German market leader in digital patient communication, TV-Wartezimmer.

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 there's a single commit to the dev branch at GitHub. This commit refactors part of the InputfieldWrapper core class, in order to improve markup attribute population. This update was introduced in part as a response to issue #1958, where label element added to Inputfield Wrapper had an empty "for" attribute.

Now, what's probably more interesting — and definitely a big deal to the ProcessWire project in the long term — is what Ryan has to say in his latest weekly update. This is a rather important update related to TinyMCE, the rich text editor we've most recently bundled with the core.

TinyMCE licensing questions (at least) partially answered

To provide a bit of background, a few months ago the team behind TinyMCE published the news that they were switching their open source license from MIT to GPL v2. This, in turn, looked like it was going to be a potential issue for us, considering that ProcessWire is using MIT license.

According to Ryan he has now been in talks with some people at Tiny and things can and will most likely continue largely as they were, and we can eventually use TinyMCe 7.x within ProcessWire's TinyMCE RTE inputfield. This will be made possible via custom license tailored specifically for ProcessWire.

What's also very interesting is that there have been initial talks about going one step further, possibly building more integrations between ProcessWire and TinyMCE:

They also expressed interest in us potentially collaborating on a separate module that would make some of the commercial and advanced TinyMCE features available to ProcessWire users that wanted them via a paid service, like a Pro module. This option hasn't been available to us before, so I thought it sounded interesting.

— Ryan

That's all for our core updates section this week. We'll let you know more about the rich text editor situation as things progress, but in the meantime be sure to check out the weekly update from Ryan for more details. Thanks!

New module: Role-Based Redirect

Role-Based Redirect is a new third party ProcessWire module created by AlexRdz. What this module does is adding support for easy, role-based redirects for users as they log in to the system. In other words you can configure where an user with a specific role should be forwarded after successful login.

The configuration string, managed via the module's configuration screen, looks something like this:

member=/members/
admin=/processwire/page/lister/

This is a pretty simple module, with a single hook to Session::loginSuccess, but definitely a nice one regardless — I for one have had a similar need on various occasions, and with this module there's no need to write custom code to handle said redirects.

The module is not (at least for now) available via the modules directory, but you can install it by cloning or downloading the module's source code from the RoleBasedRedirect GitHub repository.

Big thanks to Alex for creating this module!

Site of the week: TV-Wartezimmer

Our latest site of the week belongs to TV-Wartezimmer, the market leader in digital patient communication from Germany. They provide clinics a method for providing informational or entertainment content for patients in their waiting rooms: instructions, promotional material, and so on.

The TV-Wartezimmer website was created by Kasper Communications GmbH and features a very nice and modern design, complete with plenty of video material introducing the TV-Wartezimmer offering and numerous customer testimonials to provide potential new customers proper encouragement to jump in.

The site also provides details about the company itself, includes various press and other media materials, covers employment options, and of course provides easy way for customers to get in contact with TV-Wartezimmer. All in all there's quite a lot of content on this site, and it's all easy to consume and laid out in an interesting fashion.

When it comes to behind the scenes details, the front-end of this site is largely custom-built, so there's no full-blown front-end framework at play here. Some of the third party dependencies used include image gallery and slider libraries PhotoSwipe and Swiper. And as for third party or non-core ProcessWire modules, there's one that we could spot — the commercial Pro module for building and managing forms, Form Builder.

Thanks to the folks at Kasper Communications for sharing this project with us — and our congratulations to the client, TV-Wartezimmer, for their new, ProcessWire powered website!

Stay tuned for our next issue

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