In the 221st issue of ProcessWire Weekly we'll cover ProcessWire 3.0.109, take a closer look at a slightly older module called Pagefield Pairs, and introduce a splendid new site of the week. Read on!
Welcome to the latest issue of ProcessWire Weekly! This time we're going to introduce ProcessWire 3.0.109 and the built-in two-factor authentication support included with it. We're also going to introduce a slightly older module – one that we originally skipped for reasons we'll explain soon – called Pagefield Pairs.
Our latest site of the week belongs to a Neumünster, Germany based music school, Musikschule Neumünster. This wonderful site was crafted as a co-project of two agencies, and the end result is something that they can both no doubt be proud of – and we're absolutely thrilled to see this site being powered by ProcessWire, of course.
As always, a big thank you to all of you for being here with us, and please don't hesitate to drop us a note if there's anything in your mind that you'd like to share. Your feedback helps us focus on the things that you folks want to hear more about.
Latest core updates: ProcessWire 3.0.109 comes with built-in support for two-factor authentication
Our latest development release, ProcessWire 3.0.109, includes that built-in two-factor auth support we briefly introduced a couple of weeks ago to.
As we've explained before, this doesn't change anything unless you enable said feature – and even then actual two-factor authentication implementations need to be installed as separate modules. Right from the start we have two 2FA modules available:
- TfaTotp module adds support for TOTP (Time-based One-Time Password) two-factor authentication – compatible with various mobile apps, such as Google Authenticator, 1Password, and LastPass Authenticator.
- TfaEmail module adds support for two-factor authentication via email, and since many mobile providers have email to SMS support, there's a chance that you can use this module for a SMS 2FA authentication as well.
Both modules were developed by Ryan in order to give you a concrete starting point in case you want to get started with the 2FA feature right away. At least for the time being they're not bundled with the core, but rather provided as optional third party modules.
Read more about the core level two-factor authentication support, the two-factor auth modules mentioned above, and how all this actually looks like from an end-user point of view from Ryan's latest post at the processwire.com blog!
A late introduction to the Pagefield Pairs module by Bernhard Baumrock
Pagefield Pairs is a module that we've never really covered before. In the case of this particular module that was a decision made because it is really similar with another module called Connect Page Fields – in fact similar to such extent that the author, Bernhard Baumrock, has recommended sticking with Connect Page Fields.
Due to our latest site of the week making use of the Pagefield Pairs module, we decided to take a quick look at it after all, even if just to notify you folks of the existence of (and similarities between) these two modules. Still, if you're considering using this module, be aware that Connect Page Fields is the preferred solution.
So, what does Pagefield Pairs do?
In a nutshell it keeps page fields in sync between multiple pages. In practice this works by first defining a set of config strings such as template-1:field-1|template-2:field-2
. Now when you edit a page using template-1 (let's call this "page 1") and add a reference to a page using template-2 (let's call this one "page 2") in field-1, what happens next is that a reference to "page 1" is automatically added to field-2 of "page 2".
If this sounds confusing, check out the following video for a hands-on example:
https://www.youtube.com/watch?v=nAMfnOGp8tE#pagefieldpairs (404)
As for the use cases of this module, think of a sports site where you've got connections between teams and players: thanks to this module you can have a "team" field on the player template and a "players" field on the team template and both are always kept in sync. Similarly, our latest site of the week uses Pagefield Pairs to connect tutor pages with their respective instruments.
Thanks to Bernhard for sharing Pagefield Pairs with us – even if it does indeed overlap another module, it's clearly being useful to the community, and in our books that alone makes it a valuable contribution!
Site of the week: Musikschule Neumünster
Our latest site of the week belongs to Musikschule Neumünster, a music school based in the city of Neumünster, Germany. Founded in 1977, Musikschule Neumünster provides music education for children and adults alike, and also organizes and promotes various local events.
The website of Muskschule Neumünster is a co-project of Muskaat Online Marketing (development) and Polimorf (web design), and it was first introduced to the ProcessWire community via a showcase forum thread by user wbmnfktr.
The design of the site definitely has an artsy vibe to it, but manages to not go over-the-top with visual gimmicks, resulting in an overall look that is both eye-pleasing and easy to grasp. Behind the scenes everything from tutors to instruments and events are pages, and the third party modules used for this project include ProCache, Croppable Image 3, PagefieldPairs, MarkupSitemap, Hanna Code, and Jumplinks.
Our congratulations to both Musikschule Neumünster and the whole production team behind the project for this brilliant new website – thanks for trusting ProcessWire and keep up the great work!
Stay tuned for our next issue
That's it for the 221st issue of ProcessWire Weekly. We'll be back with more news, updates, and content Saturday, 11th 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