Jump to content
ryan

PW 3.0.116 – Core updates

Recommended Posts

This week we look at two new versions on the dev branch and a lot of updates. These include new page traversal methods, page list customization options, improved empty trash process, two factor authentication improvements, improvements to the profile editor, and more–

https://processwire.com/blog/posts/processwire-3.0.115-and-3.0.116-core-updates/

  • Like 12
  • Haha 4

Share this post


Link to post
Share on other sites

Hi Ryan,

Love the page tree customisation additions! I've got a request that I think would be pretty useful, which is to add the ability to break the count down by page status eg:

News 40/2/5 

Where the numbers represent published/hidden/unpublished. In the case of all published pages, it would just display the child count.

It might also make sense for an option to display a label eg:

News 40 published / 2 hidden / 5 unpublished

or

News 40 published / 5 unpublished

This might not look that great if all rootParents have children of varying statues, but still worth having the option.

If there's a better place to put this request, please let me know! I'm getting pretty familiar with the core, but don't know enough about how the admin theme works to be able to prototype and pull request it.

Thanks as ever for ProcessWire and all your continuing work.

Cheers,

Chris
NB

Share this post


Link to post
Share on other sites

Thinking about this further, the label method wouldn't be required if uk-text-[status] classes were employed. e.g:

child-status-example-2018-10-05.thumb.jpg.71f1d0df97839b3e5ddfb1095c39abb3.jpg

.uk-text-success was a bit faint compared to .uk-text-primary hence why this is used.

Cheers,

Chris
NB

Share this post


Link to post
Share on other sites

Thanks for the updates Ryan!

For the children counts in Page List, would you please consider adding hookable methods that return $numChildren and $numTotal? That would allow the option for devs to add a hook to correct those counts in case some descendant pages are not listable by some roles. Thanks.

Also, not sure if this is deliberate but I notice the new child count options don't take effect in the Pages > Tree flyout menu.

  • Like 3

Share this post


Link to post
Share on other sites

@Gideon So I also can't seem to download 3.0.116. Both the Website and ProcessWireUpgrade module report 3.0.115 being latest. 

  • Like 1

Share this post


Link to post
Share on other sites

If you use the ProcessWireUpgrade module you always get the latest development branch with all new commits. Even if the version number is not bumped up. Just download the newest dev version again. 😉

  • Like 1

Share this post


Link to post
Share on other sites
11 hours ago, Tom. said:

I also can't seem to download 3.0.116. Both the Website and ProcessWireUpgrade module report 3.0.115 being latest. 

It is a know issue that the labels on website are updated after a few hours or sometimes even days, but the links actually point to the newest dev version. Just download by clicking the button and check .../wire/core/ProcessWire.php. To make sure what you got see the version constants in the source: class ProcessWire extends Wire {...

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...