• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

The user interface to delete attachments could be a lot simpler. In attachagain.pattern.tmpl should be the link "Delete attachment", that invokes deleteattachment.pattern.tmpl. This template is invoked by adding the url param &template=deleteattachment.

The attached patch for Manage.pm lets this param select the template.

Template deleteattachment.pattern.tmpl is very similar to moveattachment.pattern.tmpl - it inherits from this template - with the difference that all references to "Move" are changed to "Delete", the TRASHWEB web is selected (and cannot be changed) and the topic to move the attachment to is prefilled to TrashAttachment.

Because there are 2 templates, one for Move and one for Delete, the attachment actions in the attachment table could now be view, move, delete.



  • WN approve.
  • LB approve
  • SD approve

SVN 7153. AC
Improved error handling in SVN 7157. AC

Summary Easier delete attachments
ReportedBy ArthurClemens
AppliesTo Engine
Priority Normal
CurrentState Closed

Checkins 6721 7153 7157
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpatch deleteattachment.patch   manage 0.9 K 2005-10-01 - 17:33 UnknownUser Patch for Manage.pm SVN 6713
Unknown file formattmpl deleteattachment.pattern.tmpl   manage 0.8 K 2005-10-01 - 17:34 UnknownUser  
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r10 - 2005-10-24 - ArthurClemens
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback