processwire / processwire-requests

ProcessWire feature requests.
39 stars 0 forks source link

Add possibility to trash all children of current page on "children" tab #446

Open BernhardBaumrock opened 2 years ago

BernhardBaumrock commented 2 years ago

Short description of the enhancement

As in PW we often use the page tree and it's hierarchy to store data it would be great to have a "trash all children" button/checkbox on the parent page editor's children tab:

img

Current vs. suggested behavior

Currently I always have to implement that on my own or use tracy console foreach($page->children as $c) $c->trash()

Why would the enhancement be useful to users?

I think that is a common need and I think that foreach...trash is not the best solution :)

BernhardBaumrock commented 11 months ago

Just realised that TracyDebugger has this feature!