ProcessWire Weekly #476

In the 476th issue of ProcessWire Weekly we'll check out what's new in ProcessWire 3.0.221, introduce a third party module called WireMail Postmark API, and more. Read on!

Welcome to the latest issue of ProcessWire Weekly! In this week's issue we're going to check out the latest development version of the core, ProcessWire 3.0.221, as well as a brand-new third party module called WireMail Postmark API.

As always we've also got a new site of the week to highlight. This week that would be the website of the German developer of measuring and diagnostic devices, Umwelt Geräte Technik GmbH, created by Kasper Communications.

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: ProcessWire 3.0.221

In his latest weekly update at the support forum, Ryan talks about ProcessWire 3.0.221, current development version of the core. This version is again largely focused on fixes and minor updates, but there are also a couple of i18n related feature additions:

  • The _n() method, used to translate strings that can have either singular or plural form depending on a provided quantity, can now be configured to treat zero (0) either as a singular or plural (which is something that depends on language).
  • Additionally it is now possible to choose Select or Radios fields for defining the translation. Previously you could only use text, textarea and number fields. This choice is made in code comments:
$color = __('Red'); // What color? type=radios options=[Red, Green, Blue]

That's all for our core updates section this week. For more details be sure to check out the weekly update from Ryan, and feel free to also check out the weekly dev branch commit log from GitHub. Thanks!

New module: WireMail Postmark API

WireMail Postmark API is a new third party module for ProcessWire. Developed by NB Communication, this WireMail module integrates ProcessWire with the Postmark email delivery service. Postmark promises solid deliverability, and takes a number of steps — from vetting all new users, to sending promotional and other messages through different channels — to make good on their promise.

Basic usage of this module is just like any other WireMail module: install, set up your credentials (for which you'll need a Postmark account), and start sending messages via the wireMail function or instances of the WireMail class. There are a few extra methods available, though. We won't go through them all, but here are a few examples:

  • setSenderSignature() for switching to another sender signature.
  • cc() and bcc() for defining new "cc" and "bcc" recipients.
  • attachInlineImage() for attaching inline images in your message.
  • setRecipientVariables() for defining variables used when sending in batches or using templates.
  • getClient() for accessing the underlying Postmark API client instance.

For more details, check out the WireMail Postmark API modules directory page or the README at the WireMail Postmark App GitHub repository. This module can be installed by cloning or downloading it from aforementioned repository, or by installing it via the modules manager in admin.

Big thanks to the folks at NB Communication for developing this module and sharing it with us!

Site of the week: Umwelt Geräte Technik

Our latest site of the week belongs to Umwelt-Geräte-Technik GmbH, a company developing measuring and diagnostic devices, as well as entire system solutions for all environmental topics.

Their ProcessWire powered website was created by Kasper Communications GmbH, and consists of company details, product listings, news and blog section, and a jobs section. All in all there's quite a lot of quality content here, the design of the site is really nice, and the site is also multi-lingual, available in both English and German.

As for behind the scenes details, there's not a whole lot we can say about the backend implementation. On the front-end this site is making use of a number of familiar tools and utilities — from jQuery and Swiper, to MixItUp and Isotope — and it looks like analytics is handled by a self-hosted Matomo setup.

Big thanks to the folks at Kasper Communications GmbH for sharing this project with us, and our congratulations to the client, Umwelt-Geräte-Technik GmbH, for their new, ProcessWire powered website!

Stay tuned for our next issue

That's all for the 476th issue of ProcessWire Weekly. We'll be back with more news, updates, and content Saturday, 1st of July. 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