I don't know what is a hidden submit button: <button type="hidden" > ?

No, I have a <input type="submit">Upload</input> button at the end of
the form.  When I include your plugin, it has style="display:none"
added to it.  I assumed it was part of the design in your plugin.



-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tane 
Piper
Sent: vendredi 8 juin 2007 15:44
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: ANNOUNCE: jqUploader plugin upgraded to v1.0

Yes.  I'm using CakePHP which is a rails-like MVC framework for PHP.
I'm using the standard save method in it, which works fine when used with a 
normal HTML-based form.  Since my upload submit button is hidden, i'm assuming 
the action of your plugin is a standard submit action?

In order, when I hit the submit button, a beforeSave method in the model does 
all the image checks (such as mimetype, etc) then uploads is using normal PHP.  
If this succeeds, the additional data that I enter on my form is inserted into 
the DB.  It does seem to be failing before the image uploads, so I'm assuming 
something with your plugin is incompatible with it.

On 6/8/07, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote:
>
> If jquploader appears, then the issue is on your serverside script. Php?
>
> -----Original Message-----
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED]
> On Behalf Of Tane Piper
> Sent: vendredi 8 juin 2007 15:16
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: ANNOUNCE: jqUploader plugin upgraded to v1.0
>
> I should also say, I'm currently using jQuery-1.1.3a (as I am also using the 
new WymEditor).
> I removed the afterScript, and ran profiler in Firebug, the script executed 
TerminateJQUploader, which I can see for the comments is when afterScript is not 
used....so it must be doing something.
>
>
> On 6/8/07, Tane Piper <[EMAIL PROTECTED]> wrote:
> > I'm working on my local development environment.
> >
> > On 6/8/07, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote:
> > >
> > > Link please?
> > >
> > > -----Original Message-----
> > > From: jquery-en@googlegroups.com
> > > [mailto:[EMAIL PROTECTED]
> > > On Behalf Of Tane Piper
> > > Sent: vendredi 8 juin 2007 15:06
> > > To: jquery-en@googlegroups.com
> > > Subject: [jQuery] Re: ANNOUNCE: jqUploader plugin upgraded to v1.0
> > >
> > > This looks great, but unfortunately I just can't get to seem to get this 
to work with my existing form.  I'm trying to implement this into my CakePHP app using 
the below code:
> > >
> > > $("input#ImageFilename").jqUploader({
> > >                 src:    '/js/jqUploader/jqUploader.swf',
> > >                 uploadScript:   '/admin/images/add/',
> > >                 afterScript:    '/admin/images/',
> > >                 background:    'FFFFDF',
> > >         barColor:    '64A9F6',
> > >         allowedExt:     'jpg|JPG|jpeg|JPEG|png|PNG|gif|GIF'
> > >         });
> > >
> > > When i switch this off, it works fine, but as soon as I enable this, it 
fails.  It only seems to fail on the actual upload, any idea what might be going wrong?
> > >
> > > Here at the flashvars from Firebug:
> > >
> > > flashvars="containerId=ImageFilename&uploadScript=/admin/images/ad
> > > d/
> > > &afterScript=/admin/images/&allowedExt=jpg|JPG|jpeg|JPEG|png|PNG|g
> > > if
> > > |GIF&varName=data[Image][filename]&barColor=64A9F6&maxFileSize=nul
> > > |l&
> > > startMessage=&errorSizeMessage=File
> > > is too big!&validFileMessage=now click Upload to 
proceed&progressMessage=Please wait, uploading "
> > >
> > > Thanks
> > >
> > >
> > >
> > > On 6/8/07, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > > Hello jqMates,
> > > >
> > > > I'm pleased to inform this great assemblee that jqUploader, a
> > > > flash-based upload widget allowing progress display of upload in
> > > > a non obtrusive manner, has just been updated to version 1
> > > >
> > > > New features:
> > > >
> > > > - maximum file size implemented (using the good old html input
> > > > name="max_file_size" if available) -ergonomy improved
> > > > - custom messages
> > > > - many small things, like giving an alert() if it doesn't find
> > > > swfobject.js , ...
> > > >
> > > > I hope you enjoy it, let me know if you encounter any issues. I
> > > > tested it on
> > > > FF2.0.0.4
> > > >
> > > > http://www.pixeline.be/experiments/jqUploader/
> > > >
> > > >
> > > > Cheers,
> > > >
> > > > Alexandre aka pixeline
> > > >
> > > >
> > > >
> > > >
> > > > Ce message Envoi est certifié sans virus connu.
> > > >  Analyse effectuée par AVG.
> > > >  Version: 7.5.472 / Base de données virus: 269.8.11/837 - Date:
> > > > 6/06/2007
> > > > 14:03
> > > >
> > >
> > >
> > > --
> > > Tane Piper
> > > http://webrocket.wordpress.com
> > >
> > > This email is: [ ] blogable [ x ] ask first [ ] private
> > >
> > > Ce message Envoi est certifié sans virus connu.
> > > Analyse effectuée par AVG.
> > > Version: 7.5.472 / Base de données virus: 269.8.11/838 - Date:
> > > 7/06/2007 14:21
> > >
> > >
> >
> >
> > --
> > Tane Piper
> > http://webrocket.wordpress.com
> >
> > This email is: [ ] blogable [ x ] ask first [ ] private
> >
>
>
> --
> Tane Piper
> http://webrocket.wordpress.com
>
> This email is: [ ] blogable [ x ] ask first [ ] private
>
> Ce message Envoi est certifié sans virus connu.
> Analyse effectuée par AVG.
> Version: 7.5.472 / Base de données virus: 269.8.11/838 - Date:
> 7/06/2007 14:21
>
>
>


--
Tane Piper
http://webrocket.wordpress.com

This email is: [ ] blogable [ x ] ask first [ ] private

Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.472 / Base de données virus: 269.8.11/838 - Date: 7/06/2007 14:21





--
Tane Piper
http://webrocket.wordpress.com

This email is: [ ] blogable [ x ] ask first [ ] private

Reply via email to