Forum OpenACS Q&A: Re: xowiki pages deleting

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)
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.