ProcessWire 3.0.83 core updates

ProcessWire 3.0.83

Password field updates

ProcessWire 3.0.83 improves the Password field by adding an option that requires the user to enter their existing password before they can change their password. This option is now enabled by default on the User Profile screen, though can be disabled by editing the settings for the "pass" field. By default, it is not enabled for other usages of the InputfieldPassword module, but you can enable it in the field settings, should you happen to be using this anywhere else.

Asking the user to enter their existing password before they can change their password increases security in some environments. For instance, lets say you work in an office and step away from your desk while you are logged in. This update ensures that another visitor to your desk can't change your password. There are plenty of other situations too, like forgetting to logout at someone else's computer. While not everyone necessarily needs this, I think it's a good thing to have enabled by default for our password field.

UIkit 3 admin theme now in core

This week we added the AdminThemeUikit module to the core. While we're still considering it beta (as is Uikit 3), I've felt for the last few weeks that it's every bit as solid as our other core admin themes in day-to-day use. In addition, the versions of AdminThemeUikit are lately tied to core versions. All in all, it seemed like a good time to merge it into the core!

Installation

To start using it, grab the latest dev branch version (3.0.83) and click to Modules > Wire > Admin Theme. There you should see "Uikit 3" as an installable option. Click "install" and then review the options available on the configuration screen. Initially, the only one you may want to configure might be the "Use this admin theme for login screen?" option, and I recommend checking the box.

Once the module is installed, to start using it, you'll need to select it from your user profile (the same place where you would change your password). Choose Uikit 3 as your admin theme, and you are all set.

Already have AdminThemeUikit installed?

If you've already been using this admin theme, then that's okay—ProcessWire can have two copies of the same module installed, no problem. But it does need to know which one you want to use. Click to Modules > Refresh. ProcessWire will tell you that it sees two copies of AdminThemeUikit, and gives you a link you can click on to configure which one of them you want to use. If you are making customizations to the admin theme (or planning on it), you may want to stick with your existing copy in /site/modules/. Otherwise, chances are you'll want to use the core version in /wire/modules/.

AdminThemeUikit repository

The version of AdminThemeUikit included with the core is actually a little different than the one in the AdminThemeUikit GitHub repository. The core version is stripped down to remove a lot of things that aren't needed for production. Whereas the GitHub repo version has everything needed for development included. This is one case where we're going to continue to use the existing repository for ongoing development of this admin theme, and changes are migrated to the core once tested. If you want to submit an issue report for AdminThemeUikit, feel free to use either the dedicated repository, or the processwire-issues repository.

Uikit3-beta-30 to Uikit3-beta-34

The latest version of this admin theme upgrades from Uikit3 beta 30 to beta 34, and this update unexpectedly broke a lot of little things. I spent quite a bit of time this week going through and fixing them. They aren't bugs in Uikit, but rather changes in the way things like click events are watched. For instance, uk-tab in beta 34 seems to trigger from a click event on the <li> element, whereas beta 30 was from the <a> element. Little things that required some code adjustment on this side. I think it's all working now, but please keep an eye out for any issues and let us know if you spot anything that's not working.

Beyond upgrading the Uikit version to the latest beta, the latest AdminThemeUikit also contains continued optimizations and adjustments, taking care of increasingly smaller details and ensuring everything looks and works well.

AdminThemeUikit and the ProcessWire installer

I'm currently working on an update to our installer that will use AdminThemeUikit for the installation, as well as make it the default selection for admin theme on new ProcessWire installations. I was hoping to have that in this week's version, but need a little more time to get it right.

ProFields Table version updated for AdminThemeUikit support

With AdminThemeUikit now in the core, a new version of ProFields Table has also been released that plays (and looks) nice with the new admin theme. This was one of the few modules that initially didn't work all that well when it came to things like language tabs, but all that has been fixed. So if you are using both the AdminThemeUikit and FieldtypeTable modules together, you'll want to grab this update from the ProFields support board download thread (login required). Please note that AdminThemeUikit support requires that you are running ProcessWire core 3.0.83 (today's version) or newer.


A simple multi-language Table field now fully functional in AdminThemeUikit.

Comments

  • Bernard

    Bernard

    • 7 years ago
    • 32

    For a Uikit based frontend to be fully compatible with ProcessWire, it is important that Ckeditor could produce the Uikit markup from the onset, especially when users don't know much about markup. Is there any chance of dreaming of such an option that a texteditor within ProcessWire just 'does it'?

    • Teppo

      Teppo

      • 7 years ago
      • 21

      I'm not particularly familiar with Uikit myself, but I'd love to hear more about this. What exactly does Uikit markup mean in this context? How is it different from markup used within, say, Foundation or Bootsrap.. or any other framework for that matter? Any examples?

      Image alignment classes are pretty much the only thing I could think of right off the bat, and those can be configured via ProcessPageEditImageSelect settings. Uikit also seems to require it's own classes for tables, but that's (imho) really not something that ProcessWire should output for all sites – not everyone uses Uikit, after all.

      Could you please elaborate a bit. Thanks! :)

  • kixe

    kixe

    • 7 years ago
    • 10

    Since a few years I have a custom PasswordField in use providing a cofirmation field for the old password. Great to have this feature in core now :-)

    In my module I added also a setting option which provides a checkbox to the inputfield allowing to switch to cleartext if wanted.

 

NextProcessWire 3.0.84 core updates

3

This week we've got a newly updated ProcessWire installer, some nice upgrades to our user profile editor, along with more updates to the new Uikit admin theme that was recently added to the core. More 

Latest news

  • ProcessWire Weekly #552
    In the 552nd issue of ProcessWire Weekly we'll check out the latest weekly update from Ryan, take a quick look at a new e-commerce solution for ProcessWire, and more. Read on!
    Weekly.pw / 7 December 2024
  • Custom Fields Module
    This week we look at a new ProFields module named Custom Fields. This module provides a way to rapidly build out ProcessWire fields that contain any number of subfields/properties within them.
    Blog / 30 August 2024
  • Subscribe to weekly ProcessWire news

“Indeed, if ProcessWire can be considered as a CMS in its own right, it also offers all the advantages of a CMF (Content Management Framework). Unlike other solutions, the programmer is not forced to follow the proposed model and can integrate his/her ways of doing things.” —Guy Verville, Spiria Digital Inc.