ProcessWire Weekly #628

The 628th 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 check out the latest core updates (ProcessWire 3.0.263 dev), some recent updates for the WireTests and AgentTools modules from Ryan, and a new third-party module by Roych called NativeAnalytics.

As always we've also got a new site of the week to highlight. This week that site belongs to a family-run hotel group from Germany: AHORN Hotels and Resorts. Keep on reading for more details!

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

This week we have a new weekly update from Ryan, a new dev version of the core (3.0.263), and new versions of two of Ryan's modules: AgentTools and WireTests. Here's a brief summary of what's new this week in the core:

  • New API.md documentation files for both AI and human users, covering WireClassLoader, WireDateTime, WireLog, Notices, Fields and Field, Fieldgroups and Fieldgroup, and Templates, Template, and TemplateFile.
  • Fixes and updates for the Template class, including new methods setLabel() for setting template label, setTabLabel() for setting page editor tab label, and setNameLabel() for setting a custom label for page name input in page editor.
  • PagesType::new() now accepts an optional string name as the first argument; passing a name creates and saves the page immediately (like $templates->new() and $fieldgroups->new()), while passing an array or nothing creates an unsaved page in memory (existing behavior).
  • Saving or deleting permissions now resets per-request name cache, so that getPermissionNameIds() returns new values right away.
  • ProcessPageEdit::getView() — the method that returns the view URL for the page being edited — was made hookable.

Additionally there are various bugfixes for WireDatetime parsing and output, WireClassLoader namespace handling, admin styles, and the TinyMCE inputfield.

AgentTools and WireTests

The latest version of AgentTools adds a new tasks feature that lets you create your own custom tasks, which are essentially saved prompts that you can reuse and configure. The module also comes with various predefined tasks, including a WCAG accessibility review, SEO and content hygiene review, and template file security scan.

WireTests has received various new tests, covering WireClassLoader, User/Users, Role/Roles, Permission/Permissions, and WireDatetime.

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

New module: NativeAnalytics

NativeAnalytics is a new third-party module created by Roych. It is, as the name suggests, a native analytics tool for ProcessWire: no external API requests or services, just local tracking and display features. Here are some of the features that this module provides right out of the box:

  • Tracking page views, unique visitors, and sessions
  • Tracking current visitors, based on active sessions
  • Tracking your top pages, landing pages, and exit pages
  • Tracking referrers, UTM campaigns, and browser and device breakdowns
  • Internal search-term tracking via query parameters (configurable, defaulting to "q", "s", and "search")
  • 404 hit tracking and reporting for missing URLs
  • Full-featured analytics dashboard that includes comparisons to earlier periods
  • Per-page mini analytics box that is made available directly in the page editor
  • Support for exporting your data as CSV, PDF, or DOCX
  • ... and much, much more!

You can view the full list of features in the module's directory, but in plain terms: this is a very, very feature-rich module. And in case you're wondering, yes it also plays well together with PrivacyWire consent manager, and privacy concerns are well thought it in general (e.g. the module can be used cookie-less, which should be a relief for potential EU users).

https://processwire.com/modules/native-analytics/

https://processwire.com/talk/topic/31808-native-analytics-%E2%80%94-a-native-analytics-module-for-processwire/#comment-252337

A part of a screenshot by module author Roych, showcasing the NativeAnalytics overview screen: date filtering, export actions, various statistics and graphs.

It's also worth mentioning that the development of this module seems quite active — there have been quite a few releases already after the module's announcement post back in April, and each version has brought in new features and improvements. It's always nice to see the developer truly look after their creation after putting it out there.

If you'd like to give this module a try, you can install it via the built-in modules manager in admin, or clone or download the module's source code from the NativeAnalytics GitHub repository. If you require assistance or have questions for the author, head down to the NativeAnalytics support forum thread.

Big thanks to Roych for creating this module and sharing it with the ProcessWire community!

Site of the week: AHORN Hotels and Resorts

Our latest site of the week belongs to AHORN Hotels and Resorts, a family-run German hotel group operating various hotels and resorts across scenic landscapes — including Ore Mountains, the Uckermark, the Thuringian Forest, and the Harz Mountains. Their hotels and resorts offer a variety of vacation types, from active hiking, biking or motorcycle trips to relaxed experiences and culinary delights.

AHORN provides seven 3-to-4 star hotels and resorts for holidays, located in Germany’s most beautiful landscapes. Unwind on bike rides through the peaceful Uckermark in Brandenburg, go on a nordic walking or skiing trip in the hilly Ore Mountains, climb the mountains and forests of the Harz or hike through the fairy tale Thuringian Forest.

The AHORN Hotels and Resorts website is a very nice looking, multi-lingual site with plenty of information about hotels, resorts, and activities available at the locations managed by the group. There are also handy info pages for those looking for ideas, as well as options for saving by utilizing their various loyalty programs and offers. Each hotel has a detailed info section, and there's also a handy compare tool for deciding which of their locations might be best suited for you.

As for some behind the scenes details, it looks like the front-end of this site has been largely hand-crafted, without the help of a full-blown front-end framework. There are some familiar utilities, though — such as the Splide slider and carousel plugin, and the interactive map library Leaflet. As for non-core ProcessWire modules, only one that we could spot in action is the form management utility FormBuilder.

Our congratulations to AHORN Hotels and Resorts for their new, ProcessWire powered website!

Stay tuned for our next issue

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