This question about Developing extensions (plugins skins etc.): Answered
Zone Plugin and Upload Plugin
Is it possible that
ZonePlugin is wrecking up the functionality of
UploadPlugin? Since updating a few plugins last week, including
ImagePlugin which then installed
ZonePlugin,
UploadPlugin has stopped working. %UPLOADFORM% still generates the Uploadform, but hitting
Upload
,
Less
or
More
does not have any effect anymore.
I can't deactivate
ZonePlugin for testing either, because this will result in "Undefined subroutine &Foswiki::Func::addToZone called at /var/lib/foswiki/lib/Foswiki/Plugins/JQueryPlugin/Plugins.pm line 67."
Thanks for any hints.
That's a bug. Attached you'll find a quickfix replacing the uploadplugin.tmpl. Download it and copy it into the
templates
directory. Hope that this fixes it. A new
UploadPlugin version is under way.
--
MichaelDaum - 17 Feb 2010
Thanks. Unfortunately the problem remains.
Less
,
more
, and
Upload
still don't do anything.
--
HolstenerLiesel - 17 Feb 2010
More precisely, with
JQueryCompatibilityModePlugin enabled, nothing works in
UploadPlugin. With
JQueryCompatibilityModePlugin disabled and the quickfix,
less
and
more
work,
Upload
still does not.
--
HolstenerLiesel - 17 Feb 2010
JQueryCompatibilityModePlugin is deprecated and been merged into
JQueryPlugin. Try using the
{NoConflict}
switch of
JQueryPlugin. If that still doesn't fix your problem, watch out for any javascript error reported in the status line of your browser. Which browser are you using for testing?
--
MichaelDaum - 18 Feb 2010
FF 3.5 does not report any errors, IE8 shows an error with JQuery
NoConflict. Deactivating the
{NoConflict}
switch of
JQueryPlugin makes the error message disappear, but uploads still don't work.
--
HolstenerLiesel - 18 Feb 2010
If we fix
Tasks.Item8823 then
UploadPlugin should work again.
Problem is the template uses ADDTOHEAD to add the .js but the rest of the javascript (most importantly, jquery itself) is in the body.
As an interim solution please set
{OptimizePageLayout}
to false/disabled in
/bin/configure
under Extensions/ZonePlugin
--
PaulHarvey - 04 Apr 2010
Even disabling
{OptimizePageLayout}
does not work for me. My configuration:
In my testing, the quickfix
template enabled the
more
and
less
links but uploading did not work. The
more
and
less
links did not work with the original plugin's template but uploading worked — alas only as a one-file attachment form.
I hope this issue gets resolved soon. The number one request from the users of my wiki is to have multiple file upload feature.
--
AleksandarJelenak - 12 May 2010
See
Tasks.Item9065 for a quick patch
--
MichaelDaum - 01 Jun 2010
Thanks Michael, that patch works for me, too. Thank you very much!
I have attached a new
template version because it corrects an error in the previous copy which produced an empty
action
attribute of the
<form>
element.
--
AleksandarJelenak - 02 Jun 2010