lundy Posted December 6, 2013 Share Posted December 6, 2013 It takes 5 clicks to delete a page it takes 4 clicks to delete a template it takes 4 clicks to delete fields then there are the associations that don't let you delete a template if a page is using it... So, 4 clicks to delete it, then I see that it is in use, so I go to the page, 5 clicks x number of pages, then another 4 clicks to delete the template, and I hope I didn't miss anything or it's even more. tedious. just put the trashcan on the main admin>pages like in the setup>templates>templatename where you remove fields, you just click the trashcan... then one dialog max asking if you are sure you want to delete... things go to the trashcan so it's not like they can't be reinstated if i made a mistake. muchas gracias Link to comment Share on other sites More sharing options...
lundy Posted December 7, 2013 Author Share Posted December 7, 2013 also, I tried to delete a template, can't a page is attached, so I go and delete the page 5 clicks, go back to templates to delete, 4 clicks, only to find out that the page is in the trash and still linked even after I moved it to the trash? so in reality to delete a page takes 7-8 clicks, to truly get it unlinked with from a template.. really tedious for someone learning the system, where I am trying to figure out pages templates and fields , and how I want to structure my data. Link to comment Share on other sites More sharing options...
pwired Posted December 7, 2013 Share Posted December 7, 2013 Success is just one click away Link to comment Share on other sites More sharing options...
Macrura Posted December 7, 2013 Share Posted December 7, 2013 i don't think there is a way to change things to accommodate your complaint; each element has is dependencies, you'll get used to it... have you looked at information architecture and database design? i always plan out on paper the structure of the site before making fields, templates etc.. oh and another pointer - make sure your data and admin structure is really stable before you write any front-end markup 3 Link to comment Share on other sites More sharing options...
lundy Posted December 7, 2013 Author Share Posted December 7, 2013 @macrura thanks for the tips. Link to comment Share on other sites More sharing options...
adrian Posted December 7, 2013 Share Posted December 7, 2013 Doesn't solve all your problems, but this helps a little: http://modules.processwire.com/modules/process-page-delete/ Somewhat related: http://modules.processwire.com/modules/process-page-publish/ Link to comment Share on other sites More sharing options...
teppo Posted December 7, 2013 Share Posted December 7, 2013 Agreed, currently it takes quite a few steps to delete something. As a side effect of that, cases where our clients have deleted something "by accident" have decreased to near zero. I'd like to argue that it's actually a good thing and destructive things should never be too easy. Trashing pages isn't irreversible, that's true, but as it stands recovering content from trash isn't exactly trivial either (superusers only, unless you're using Trashman module). Another thing to note is that not all content is treated that way: users and templates, for an example, are instantly (and irreversibly) removed. Definitely not something you'd want to happen by mistake. From my point of view PW has good balance regarding this subject right now and it shouldn't be disrupted without careful consideration. If I was asked if something should be changed, personally I'd prefer restoring content not requiring superuser access, but then again, Trashman already handles that part. Still, if it was my choice, it should be baked into core system somehow. Same goes for pages, templates and fields; I feel that they should be recoverable too. Especially users, as I'm seeing more and more people adding extra data for them, thus making them less trivial to recreate. Just saying.. and sorry for taking this off-topic 1 Link to comment Share on other sites More sharing options...
pwired Posted December 7, 2013 Share Posted December 7, 2013 From my point of view PW has good balance regarding this subject right now and it shouldn't be disrupted without careful consideration. Yes it was designed this way for good reason. Link to comment Share on other sites More sharing options...
Macrura Posted December 7, 2013 Share Posted December 7, 2013 (edited) As a side effect of that, cases where our clients have deleted something "by accident" this is what i love about the system, i have a client who accidentally deleted some important pages (before i removed page-delete from their permissions) and all i had to do was go in the trash and move them back... i can sleep at night because i know that processwire has been designed from the ground up to be 'safe' in so many ways... edit: @lundy - i should have recommended that you try the batcher module - i recall using that for batch page deleting and i believe that it does actually delete the pages in 1 step; You could then use batcher to find all pages using a template and then batch delete them, then you could delete the template with 1 click.. and also it would probably be possible to write a module that would add a trash button to the page list, maybe look at the modules that are doing similar things with the page tree, such as this http://modules.processwire.com/modules/process-page-publish/ Edited December 7, 2013 by Macrura Link to comment Share on other sites More sharing options...
Joss Posted December 8, 2013 Share Posted December 8, 2013 Its a nice little bit of real life: "Hey, information? I lost my socks." "They are behind the sofa" "Thanks." With data, there should always be the equivalent of "behind the sofa" somewhere. 6 Link to comment Share on other sites More sharing options...
blad Posted August 5, 2014 Share Posted August 5, 2014 @Joss I think that was the best answer I just found my socks 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