ProcessWire Weekly #480

In the 480th issue of ProcessWire Weekly we'll check out ProcessWire 3.0.223, introduce a new command-line tool for ProcessWire developers, 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 latest development version of ProcessWire, 3.0.223, and introduce a newly released command-line tool for ProcessWire developers: wire-cli.

As always we've also got a new site of the week to highlight, and this week that would be the official site of the Woodbridge Town Council, created by David Freeland Design and Paul Strandoo Design.

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.223

As Ryan explains in his latest weekly update, this week the focus has been on resolving issues reported via the GitHub issues repository — particularly older and previously missed issues. Additionally some unrelated feature updates were made this week.

In total there were 11 new commits to the dev branch this week. Here are some highlights from the weekly GitHub commit log:

  • New hookable methods for the ProcessLogin module: loginAttemptReady(), loginAttempted(), loginFormProcessReady(), and loginFormProcessed().
  • New Permissions class ($permissions API var) methods: getPermissionNameIds(), getDelegatedPermission(), and getDelegatedMethod().
  • Updates for the ProcessPageSearch module, adding support for search selectors that do not need to be passed through user input.
  • Related to aforementioned ProcessPageSearch update: fix for an old issue where check_access could not be used with the PageAutocomplete inputfield (e.g. when using said inputfield to select users).
  • A fix for an issue where cloning fieldset "END" field was not cloning related tags. Additionally fieldset "END" fields are now hidden by default, unless advanced mode has been enabled for the site, or system fields are being displayed.

That's all for our core updates section this week. For more details, be sure to also check out the weekly update from Ryan at the support forum. Thanks!

New command-line tool for ProcessWire developers — wire-cli

A recently released project created by flydev, wire-cli is a command-line tool built for ProcessWire developers. The successor to the (discontinued) wireshell project, wire-cli is essentially a collection of ProcessWire specific commands that can be run from the command-line.

With wire-cli, you can automate common tasks, manage ProcessWire projects effortlessly, and enhance your development workflow.

— The wire-cli project README

Some examples of commands that this tool gives you access to include...

  • wire-cli new my-project — create a new ProcessWire project called my-project
  • wire-cli backup:db --filename=db-bak --target=/path/to/db/dumps/ — create a database backup at /path/to/db/dumps/db-bak.sql
  • wire-cli user:list --role=superuser — list all users with superuser role
  • wire-cli field:create headline --label="Headline" --desc="A nice, long headline goes here" --type=text — create a new "headline" field with provided type and other properties
  • wire-cli module:download FlagPages --github=marcus-herrmann/ProcessWire-FlagPages --branch=develop — download the FlagPages module from provided GitHub repository and branch
  • wire-cli log:tail error --limit=5 — tail the error log file, displaying five lines

... and so on. All in all there's quite a lot of stuff that you can already achieve with this tool, and more is likely to be added in the near future. The project README mentions that wire-cli and another CLI tool, Rockshell, may also be merged at some point.

If you'd like to give wire-cli a try, you can clone or download it from the wire-cli GitHub repository, or install it via Composer (composer global require wirecli/wire-cli). Big thanks to flydev for all the time and effort put into making this brilliant new tool!

Site of the week: Woodbridge Town Council

Our latest site of the week is the official website of Woodbridge Town Council in Suffolk, England.

This website, which was created as a co-project by David Freeland Design and Paul Strandoo Design, is both a resource for local residents, as well as a showcase for the venues owned and operated by the town. The site contains information about venues that are available for rent, arranging events — such as weddings — at said venues, and of course details about the town council itself.

On this site the content is clearly front and center, and there's indeed plenty of quality content to be found. That being said, the design of the site is also really nice, and there are many quality photographs of Woodbridge and the venues. All in all browsing this site was and is a very nice experience.

As for behind the scenes details, it seems that the front-end of the Woodbridge Town Council website is largely custom-built, with help from a bunch of familiar third party dependencies — such as jQuery, slick, Featherlight, and Animate on Scroll. There are a couple of third party ProcessWire modules on this site that we were able to spot, and those would be MarkupCookieConsent and SimpleContactForm.

Thanks to the creators of this website for sharing it with us, and our congratulations to the Woodbridge Town Council for their new, ProcessWire powered website. Splendid work from everyone involved in this project!

Stay tuned for our next issue

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