Deleting pages

Talk about new features for CMSMS and modules.
Post Reply
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Deleting pages

Post by nils73 »

Deleting pages and other stuff is kind of dangerous right now if JavaScript is disabled. Would it be possible to have checkboxes like you have in webmail-accounts, to check what pages you would like to delete, then have JS let you confirm it (if activated) and then delete via submit?

Regards,
Nils
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: Deleting pages

Post by Ted »

I agree.  I've actually been toying with just writing it in very quickly.  The only issue comes with deleting parent pages and whether they should delete the children...
LeisureLarry

Re: Deleting pages

Post by LeisureLarry »

Yeah that would be cool. Marking pages to delete just like in phpmyadmin.  And deleting childern with their parents would be great :)
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: Deleting pages

Post by kermit »

maybe a trash bin to hold deleted items?
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: Deleting pages

Post by nils73 »

wishy,

if I am not mistaken CMSMS has the ability to identify, if an element is a parent element to other elements grouped below. So what about a second checkbox to each parent element, allowing you to delete parent plus sub-pages?

Regards,
Nils
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: Deleting pages

Post by Ted »

Well, the absolute quickest possible way to implement it would be to only allow you to delete pages with no children.

But with the children stuff, then it's a matter of figuring out which children are there and then showing a screen that says what pages are about to be deleted.
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: Deleting pages

Post by nils73 »

I just did a quick copy & paste with photoshop to illustrate what I mean. During the weekend I searched my brain for a CMS I used to use where deleting pages was solved this way.

HTH
Nils

[attachment deleted by admin]
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: Deleting pages

Post by Ted »

Well, I don't see the 2 checkboxes as making much sense to most users.  I'll probably go with the 2nd page showing the children that are affected by the delete.
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: Deleting pages

Post by nils73 »

Maybe I overlooked something but I just played with the beta and find it very annoying to manually delete the content. But I must say that I like the concept of a demo-page being installed as something to play with.

Maybe 0.12 should include a "delete demo-content" somewhere ...

Regards,
Nils

BTW: I just did it via SQL ... but I wouldn't recommend that for just anybody ;)
Last edited by nils73 on Fri Mar 03, 2006 3:25 pm, edited 1 time in total.
Post Reply

Return to “Feature ideas”