benbyf Posted June 18, 2011 Share Posted June 18, 2011 Would be nice to have a shortcut to delete pages on the PAGES section instead of having to EDIT then delete each page. 1 Link to comment Share on other sites More sharing options...
apeisa Posted June 18, 2011 Share Posted June 18, 2011 Would be nice to have a shortcut to delete pages on the PAGES section instead of having to EDIT then delete each page. There is, kind of. If you click your trash page open, you can drag & drop pages there. Link to comment Share on other sites More sharing options...
Adam Kiss Posted June 18, 2011 Share Posted June 18, 2011 Except that's just plain wrong. One button 'Move to trash' (so you wouldn't have to go away from page tree view, or to different branch) would be much better idea IMO. Link to comment Share on other sites More sharing options...
benbyf Posted June 18, 2011 Author Share Posted June 18, 2011 I would generally agree Link to comment Share on other sites More sharing options...
apeisa Posted June 18, 2011 Share Posted June 18, 2011 I agree that current solution is not ideal. But adding one more link after page name wouldn't be either. That would be messy and it would require confirmation of some kind. Maybe one button: bulk delete. After clicking that there would be delete link after each page. Just click once for every page you want to remove and after that one click confirmation for all pages. Link to comment Share on other sites More sharing options...
Adam Kiss Posted June 18, 2011 Share Posted June 18, 2011 Yes, but moveing to trash wouldn't need confirmation – you could generally remember the position it had before moving to trash, and then undeleting would be one click, again. Link to comment Share on other sites More sharing options...
formmailer Posted September 7, 2011 Share Posted September 7, 2011 Hi! After happily experimenting with the CSV-import module (http://processwire.com/talk/index.php/topic,432.0.html), I ended up with many new, easily created pages... But after adding 50+ new pages, I decided that I needed to delete, let's say, 35 of them... Since this is quite time consuming I started looking for a bulk delete option and noticed this thread. Since I could not find a bulk delete plugin, I would like to support the current requests for a bulk delete option/plugin. /Jasper Link to comment Share on other sites More sharing options...
apeisa Posted September 7, 2011 Share Posted September 7, 2011 I would like to see at some point a button which allows removing all the children. Maybe on children tab. Bulk deleting while developing a site is pretty simple through API (not tested and written in browser): <?php foreach($pages->find("template=something, parent=/testing/") as $removePage) { $removePage->delete(); } Of course selectors will change depending on what you want to remove. Just add that snippet to your template file and visit page that uses that template. EDIT: Didn't read your post very well Formmailer. In your situation there might not be a good selector (if you need to pick those 35 pages manually). So something like bulk editing would be the best way in situation like that. Link to comment Share on other sites More sharing options...
Soma Posted September 7, 2011 Share Posted September 7, 2011 I agree with that it needs some sort of shortcuts to delete and do tasks like publish and unpublish, and have a mode to select pages to via checkboxes and perform a certain status operation. Not only handy for developers (which are also users) but for end users too. Through API is of course the most flexible and powerful one as with all. IMO the drag and drop is nice but not always suitable and can be cumbersome for some people to use in cases when they use pad, small screen, there's lots of pages in the tree, handycaped etc. and the trash is all the way down and mistakes are made easily. Link to comment Share on other sites More sharing options...
apeisa Posted September 7, 2011 Share Posted September 7, 2011 One solution could be adding these bulk selection tools to search lists. Or then just simple "delete mode" on pagelist (toggle click, and after that only "remove" button after each page and finally after choosing which pages to remove some kind of confirmation). Link to comment Share on other sites More sharing options...
ryan Posted September 9, 2011 Share Posted September 9, 2011 Sometime after 2.1 I'm hoping to find a way that we can select multiple pages at once in the PageList, and then drag-move, or edit them as a group. As for editing groups: if you had multiple pages selected and clicked "edit" it would take you to a PageEditMultiple process rather than a PageEdit process. And PageEditMultiple would be limited to just some of the basics that are on the current PageEdit settings tab ('status' being the obvious one). In terms of selection, if it's possible, I'd like to use the standard shift-click to select linear groups, and ctrl-click to select individually, as well as click-n-drag a box around the group of pages you want to select. I think all these actions would be a natural fit in the current PageList, so it's just a matter of figuring out the code to make it happen. Link to comment Share on other sites More sharing options...
joshuag Posted August 1, 2012 Share Posted August 1, 2012 +1 for this feature... Link to comment Share on other sites More sharing options...
Soma Posted August 1, 2012 Share Posted August 1, 2012 +1 look here and there Link to comment Share on other sites More sharing options...
Nico Knoll Posted August 8, 2012 Share Posted August 8, 2012 And since today here: http://modules.processwire.com/modules/process-page-delete/ 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now