Home
The Toolkit for Online Communities
15936 Community Members, 0 members online, 2453 visitors today
Log In Register

Forum OpenACS Q&A: xowiki pages deleting

OpenACS Home : Forums : OpenACS Q&A : xowiki pages deleting

Icon of Envelope Request notifications

+
Posted by Michal Hanckowiak on
Hi,

when someone push the button "Delete" on a xowiki page
then that page is immediately deleted...

is it possible to change something in xowiki params/config
that there will be a question "Are you sure?"
before page is deleted???

................
best regards,
Michal Hanckowiak

+
2: Re: xowiki pages deleting (response to 1)
Posted by Gustaf Neumann on
One can activate a confirm dialog for delete on the admin/list page by removing a comment (search in xowiki/www/admin/list.tcl for "delete_confirm"). The experience says that this does not help much, since people simply click through after some time without reconsidering.

The right solution would be a proper trashcan (and trashcan management), but this needs to be done at the cr-level and is a larger task.

+
3: Re: xowiki pages deleting (response to 2)
Posted by Michal Hanckowiak on
thanks Gustaf,
you are talking about the list of objects in admin panel;
is it also possible to add such a "confirmation dialog"
to a button "Delete" on the top of a xowiki page??
(with url .../mypage?m=delete)
.............
Michal
+
4: Re: xowiki pages deleting (response to 3)
Posted by Gustaf Neumann on
You are probably taking about the "wikicmds". sure is this possible, just edit the template you are using (e.g. view-default.adp) and add the js-snippet from admin/list.tcl.