Introduction

The Craft CMS community is a remote-working one already, so we're more likely to be prepared for the virus-lockdown than many people are. This is still difficult, and we're in this together.

Head over to the Craft Discord group is a great place to commiserate. Check out the #random channel, a place to simply check-in with other members of the Craft community, even if it's not Craft-related. Say hello. Ask advice. Offer an ear to someone. Funny GIFs are also welcome.

If you've got work-related topics, #shoptalk would be an excellent place to hang out. See how others are dealing with the "this-is-our-new-normal" working life.

In this issue, we've got another batch of great Craft, and web dev links lined up. I hope you find something here that offers a welcome distraction or inspiration for learning something new.

The link above is to Brandon's keynote on the State of Craft. The announcement that seemed to generate the most enthusiasm was Nitro, a project that promises to make local development of your Craft sites a breeze. Nitro is currently in development.

Do you have a plugin? Craft 3.4 brought an updated look and feel to the control panel along with some other changes. It's not a major change for your plugins but this post outlines the changes and how to deal with them.

Featured Sponsor

Freeform is the most reliable, intuitive and powerful form building plugin for Craft. Everything is at your fingertips in our elegant form builder. It gives you full control to create simple or complex multi-page forms, as well as connect your forms to many popular API integrations. Templating is easy and highly customizable. Our ready-to-go templates and features like built-in AJAX and Conditional Rules Logic will have you ready in minutes! No other form plugin even comes close to comparing! You can trust Freeform (and the team behind it) to deliver the quality and support you expect and deserve.

Tools, tips, and fundamentals

You may know about the postLogoutRedirect config option already. You can set this value in your configuration to a string to define the path users are directed to upon log out.

The value type accepted is mixed though, not just a string. You can dynamically redirect users after they log out of a site by assigning a function to the postLogoutRedirect config. Check out this Github issue, where Brandon shared a code example to demonstrate.

Andrew Welch spoke at Dot One 2020 about how modern tooling can make the sites we build better for our clients. He shared his speaker deck at the link above. It shows how he took an old Cake PHP site and rebuilt it with a modern stack including Craft CMS.

Creating a PDF is fast and easy with Super PDF. Super PDF is backed with DomPDF library and gives you full power to covert your twig templates into PDF. You can pass external CSS and HTML 4.0 attributes working with it. All the functionality DomPDF provides can be accessed easily in Super PDF.