%UPLOADFORM%You get (if installed):
%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
configure
, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.
Author(s): | Foswiki:MichaelDaum | ||||||
Copyright: | © 2009 Michael Daum http://michaeldaumconsulting.com | ||||||
License: | GPL (Gnu General Public License) | ||||||
Release: | 1.11 | ||||||
Version: | 20090703 (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: |
|
||||||
Home: | Foswiki:Extensions/UploadPlugin | ||||||
Support: | Foswiki:Support/UploadPlugin |
![]() |
upload.css (0.54K)
Saved by install script
version 1 uploaded by AdminUser on 03 Jul 2009 - 21:24
|
![]() |
upload.css.gz (0.28K)
Saved by install script
version 1 uploaded by AdminUser on 03 Jul 2009 - 21:24
|
![]() |
upload.js.gz (1.50K)
Saved by install script
version 1 uploaded by AdminUser on 03 Jul 2009 - 21:24
|
![]() |
UploadPluginSnap1.png (9.59K)
Saved by install script
version 1 uploaded by AdminUser on 03 Jul 2009 - 21:24
|