ProcessWire 3.0.55 core updates

ProcessWire 3.0.55

This week we’ve got a new core version on the dev branch (3.0.55). This version has a whole bunch of fixes and adjustments, and is recommended if you’ve been running a prior dev branch version. For full details see the commit log for this week.

Dropdown page tree

This new version also contains a handy new page tree integrated into the drop down navigation. This provides a useful shortcut for editing pages. It is something I’ve wanted there since the beginning, but never really was sure how to implement it. But after doing a lot of re-writing of navigation code along with the Uikit admin theme, it became fairly straightforward.

This dropdown page tree works with either the Default admin theme, or the new Uikit admin theme. It doesn’t work in the Reno admin theme at present because it is sidebar based and doesn’t use dropdown menus. Though we may still yet find a way to implement it there too.

These dropdown menus are a little better suited to the Uikit admin theme than the Default admin theme, mostly because the top navigation lives on the left rather than the right. This leaves more room for drilling down through the page tree. In either case, there are limitations to how far you can take it, though those limitations have to do with screen real estate rather than a technical limitation. While we are just showing 3 levels in the screenshots above, you can navigate as deep into the tree as your screen space will allow. The dropdown page tree is not a replacement for the main page tree, but it’s definitely a handy alternative for many cases.

Note that if you are trying to use it in a narrow window using the Default admin theme, you may run out of space easily, at which point jQuery UI starts rendering menus on top of one another. This is less likely to occur in the Uikit admin theme due to the navigation placement. So that’s just something to be aware of. Since a derivative of the Uikit admin theme will eventually be replacing the Default admin theme, I’m not too worried about that for the short term.

This navigable page tree is also implemented in the sidebar navigation of the Uikit admin theme. This one uses ajax-rendered uk-nav elements rather than ajax dropdowns:

If you’d like to try these new features out, grab the latest version of ProcessWire core (3.0.55) and optionally the latest AdminThemeUikit (0.0.2). You can also try out the live demo, which is running these latest versions as well. Login with username “bloguser” and password “processwire3”.

In AdminThemeUikit, clicking the ProcessWire logo/mark now opens the off-canvas sidebar navigation, regardless of whether you are at the mobile responsive size or not. So if you want to test out that part of it, no need to make your browser window narrow anymore.

Thanks for reading. I hope that you all have a great weekend and enjoy reading the ProcessWire Weekly!

Comments

  • Can

    Can

    • 3 years ago
    • 10
    like it :-) and the page tree panel is back too :D
  • Tom

    Tom

    • 3 years ago
    • 10
    This isn't the final theme. The theme will be worked on by the community.
  • Adrian

    Adrian

    • 3 years ago
    • 10
    Ryan,

    What do you think about having the off-canvas menu remember your current open position between page loads? At the moment it's actually probably slower to navigate back to where you were, compared to returning to the page tree which does remember where you were. Maybe it's just a matter of using the panel version instead? I think perhaps I am just confused on which option to use now that we have 4 ways to access the page tree :)

  • Dene

    Dene

    • 3 years ago
    • 01
    Installing the AdminThemeUikit 0.0.2 resolves page link issues described earlier.
  • Alex

    Alex

    • 3 years ago
    • 01
    First impression: This looks a tad boring and why is the header bar taking so much space?
    Second impression: Wow, that dropdown navigation is useful!

    Good job, can't wait to see what the design changes in the coming weeks will bring.

     

    PrevProcessWire 3.0.54 and Uikit 3 admin theme

    10

    Last week's post indicated we may have the first [beta] version of the Uikit admin theme ready, and I’m glad to report that we've now got it ready for download on GitHub. In this post, we’ll describe what’s new, how to install it, and how to develop with it. More 

    Twitter updates

    • ProcessWire 3.0.153 (dev) focuses on comments field updates, significant refactoring/improvements to ProcessWire’s core Template class and PagesLoader class (which is used by the pages API variable), and we introduce a useful new pages API method— More
      20 March 2020
    • ProcessWire 3.0.152 core updates— This week we have some major improvements to our core date/time Inputfield, as well as a new ability to specify your own custom classes for Page objects— More
      6 March 2020
    • This week we’ve got a couple of really useful API-side improvements to the core in 3.0.151, including predefined image settings and static language translation improvements— More
      21 February 2020

    Latest news

    • ProcessWire Weekly #307
      In the 307th issue of ProcessWire Weekly we're going to check out the latest dev branch updates, introduce some new third party modules, and more. Read on!
      Weekly.pw / 28 March 2020
    • ProcessWire 3.0.153 core updates
      This latest version of the core on the dev branch focuses on comments field updates, significant refactoring/improvements to ProcessWire’s core Template class and PagesLoader class (which is used by the $pages API variable), and we introduce a useful new $pages API method.
      Blog / 20 March 2020
    • Subscribe to weekly ProcessWire news

    “To Drupal, or to ProcessWire? The million dollar choice. We decided to make an early switch to PW. And in retrospect, ProcessWire was probably the best decision we made. Thanks are due to ProcessWire and the amazing system and set of modules that are in place.” —Unni Krishnan, Founder of PigtailPundits