TIP UploadPlugin is not installed on Foswiki.org.
ALERT! WARNING: this plugin is not maintained by the original author anymore. Part of its features have been superseded by TopicInteractionPlugin. -- MichaelDaum - 03 Sep 2013

UploadPlugin

Attach multiple files to a topic in one go

This plugin provides a more flexible interface to upload one or more files to a topic. Using standard means, only one file can be uploaded at the same time. In comparison this plugin allows to upload multiple files with one transaction and optionally using an asynchronous request. the needed REST interface to

Examples

You type:
%UPLOADFORM%

You get (if installed):

UploadPluginSnap1.png

Syntax

%UPLOADFORM{
  ajax="on|off"
  comment="on|off"
  target="on|off"
  multiple="on|off"
  embed="on|off"
}%

The comment, target, multiple and embed parameters toggle different features of the upload form:

  • ajax - switch on/off asynchronous operation mode; defaults to off
  • comment - switch on/off the comment field for uploads
  • target - switch on/off the target field; defaults to current topic
  • multiple - switch on/off multi-file upload
  • embed - switching this to on will omit the outer form markup; that's useful to embed the upload form into a larger form, that the upload is part of
  • onsuccess - function to be called after a sucessful upload; aditionally, the javascript event sucess.uploader is fired on success
  • onerror - function to be called after a failed upload; the javascript event error.uploader is fired when an error occurs

Installation Instructions

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.

Info

Many thanks to the following sponsors for supporting this work:
  • Acknowledge any sponsors here

Author(s): Foswiki:MichaelDaum
Copyright: © 2009 Michael Daum http://michaeldaumconsulting.com
License: GPL (Gnu General Public License)
Release: 1.11
Version: 4414 (2009-07-03)
Change History:  
02 Jul 2009: added ajax parameter; triggering sucess and error events jquery events
30 Jun 2009: added onsuccess, onerror
23 Jun 2009: initial release
Dependencies:
NameVersionDescription
Foswiki::Plugins::JQueryPlugin>=3740Required.
Home: Foswiki:Extensions/UploadPlugin
Support: Foswiki:Support/UploadPlugin

PackageForm edit

Author
Version
Release
Description
Copyright
License
Home
Support
Repository
ExtensionClassification User interactivity
ExtensionType PluginPackage
Compatibility ALERT! WARNING: this plugin is deprecated and been superseded by TopicInteractionPlugin.
IncompatibleWith
ImageUrl
DemoUrl http://michaeldaumconsulting.com
SupportUrl UploadPlugin
ModificationPolicy PleaseFeelFreeToModify
I Attachment Action Size Date Who Comment
UploadPlugin.md5md5 UploadPlugin.md5 manage 159 bytes 17 Nov 2009 - 18:05 MichaelDaum  
UploadPlugin.sha1sha1 UploadPlugin.sha1 manage 183 bytes 17 Nov 2009 - 18:05 MichaelDaum  
UploadPlugin.tgztgz UploadPlugin.tgz manage 19 K 17 Nov 2009 - 18:05 MichaelDaum  
UploadPlugin.zipzip UploadPlugin.zip manage 23 K 17 Nov 2009 - 18:05 MichaelDaum  
UploadPluginSnap1.pngpng UploadPluginSnap1.png manage 9 K 23 Jun 2009 - 16:22 MichaelDaum  
UploadPlugin_installerEXT UploadPlugin_installer manage 4 K 17 Nov 2009 - 18:05 MichaelDaum  
Topic revision: r8 - 16 Feb 2016, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy