[ZendTo] Re: Release 3.64 with upload progress bars
Jules
Jules at Zend.To
Tue Feb 15 09:06:59 GMT 2011
I've just tested with IE9 and it works there too.
Yay, we win! :-)
On 14/02/2011 19:04, Duncan, Brian M. wrote:
> Yes it works with IE6, IE7, and IE8.
>
> BRIAN M. DUNCAN
> Data Security Administrator
> Katten Muchin Rosenman LLP
> 525 W. Monroe Street / Chicago, IL 60661-3693
> p / (312) 577-8045 f / (312) 577-4490
> brian.duncan at kattenlaw.com / www.kattenlaw.com
>
>
> ------------------------------------------------------------------------
> *From:* zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] *On
> Behalf Of *Duncan, Brian M.
> *Sent:* Monday, February 14, 2011 11:08 AM
> *To:* ZendTo Users
> *Subject:* [ZendTo] Re: Release 3.64 with upload progress bars
>
> Actually ignore that for now..
> I just tested with IE6 and it works now. I was testing with IE9 only
> when I tried again before I posted the below.
> I am not at my desk now and will test with IE7 and IE8 later.
> Thanks
>
> BRIAN M. DUNCAN
> Data Security Administrator
> Katten Muchin Rosenman LLP
> 525 W. Monroe Street / Chicago, IL 60661-3693
> p / (312) 577-8045 f / (312) 577-4490
> brian.duncan at kattenlaw.com / www.kattenlaw.com
>
>
> ------------------------------------------------------------------------
> *From:* zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] *On
> Behalf Of *Duncan, Brian M.
> *Sent:* Monday, February 14, 2011 10:55 AM
> *To:* ZendTo Users
> *Subject:* [ZendTo] Re: Release 3.64 with upload progress bars
>
> I added the line to my /opt/zendto/myzendto.templates/new_dropoff.tpl
> file.
> So now it is:
> <script type="text/javascript">
> function submitform() {
> if (validateForm()) {
>
> document.getElementById("progress").style.visibility="visible";
>
> window.frames.progress_frame.start('{$progress_id}');
> document.dropoff.submit();
> }
> }
> </script>
> I also had this additional change in place already that I made:
> <div id="progress"
> style="visibility:hidden;width:300px;padding:4px;border:2px solid
> #C01010;background:#FFF0F0;color:#C01010;valign:top;">
> <b>Upload Progress:</b><br/>
> <iframe id="progress_frame" name="progress_frame"
> src="progress.php?progress_id={$progress_id}" frameborder="0"
> style="border: none; height: 60px;
> width: 300px; background:#FFF0F0">
> </iframe>
> </div>
> I added the frameborder="0" from earlier, when I compared that to the
> one in the templates directory.
> I still was not getting the progress bar update on myzendto. I will
> have to look at it later though I will post back if I have any better
> luck after I look at it again..
> And yes before I started testing the new version and made the above
> edits, I extracted ALL files from the updated .tgz into the
> myzendto.templates myzendto.templates_c templates templates_c.
> And I understand the reasoning behind the % on the progress bar for
> very large uploads.
> Thanks!
> Brian
>
> BRIAN M. DUNCAN
> Data Security Administrator
> Katten Muchin Rosenman LLP
> 525 W. Monroe Street / Chicago, IL 60661-3693
> p / (312) 577-8045 f / (312) 577-4490
> brian.duncan at kattenlaw.com / www.kattenlaw.com
>
>
> ------------------------------------------------------------------------
> *From:* zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] *On
> Behalf Of *Jules
> *Sent:* Monday, February 14, 2011 10:37 AM
> *To:* ZendTo Users
> *Subject:* [ZendTo] Re: Release 3.64 with upload progress bars
>
> Brian,
>
> Found the MyZendTo problem. To save yourself a lot of reinstalling,
> please edit
> /opt/zendto/myzendto.templates/new_dropoff.tpl
> Around line 185 you'll find a chunk of code that looks like this:
>
> function submitform() {
> if (validateForm()) {
>
> document.getElementById("progress").style.visibility="vi
> sible";
> // scroll(0,0);
> document.dropoff.submit();
> }
> }
>
> Just before the call to "document.dropoff.submit();" add a line that
> says this:
>
> window.frames.progress_frame.start('{$progress_id}');
>
> Then just reload the page in your web browser and try again.
>
> Should work now!
>
> Sorry about that, silly screw-up on my part.
>
> Jules.
>
> On 14/02/2011 16:20, Jules wrote:
>>
>>
>> On 14/02/2011 15:32, Duncan, Brian M. wrote:
>>> Thanks!
>>> It looks like it is working fine with zendto, I tried myzendto and
>>> that still is not working for me. Tested with IE8 & IE9.
>>> I compared the progress.tpl between the templates dir to the
>>> myzendto.templates dir and the look alike so I am not sure why that
>>> is happening.
>>> The new_dropoff.tpl in the myzendto.templates did have one
>>> difference (it did not have frameborder="0" on an iframe line) I
>>> added that but the progress bar still did not update for me on myzendto.
>> You have copied over all the new files in myzendto.www as well as its
>> "js" subdirectory contents?
>> If so, I'll give it a go and see what's up.
>>> Fortunately I don't need myzendto to work at the moment since we
>>> don't have that rolled out yet.
>>> Also I can't recall if the behavior before was the same but it goes
>>> from 100% down to 0% on the progress bar, should it be the reverse?
>>> (0% when it is finished)
>> I decided to make it count down to 0 instead of up to some unknown
>> number that you wouldn't know until it got there. Make sense? It's
>> not obvious that it's a percentage until you're well on the way, so
>> with a big file you'll be left with an incrementing number at a tiny
>> bit of blue bar, with no sign of when it will stop increasing.
>>
>> Jules.
>>
>> --
>> Julian Field MEng CITP CEng
>> www.Zend.To
>>
>> Follow me at twitter.com/JulesFM
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>
>> 'All programs have a desire to be useful' - Tron, 1982
>
> Jules
>
> --
> Julian Field MEng CITP CEng
> www.Zend.To
>
> Follow me at twitter.com/JulesFM
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
> 'All programs have a desire to be useful' - Tron, 1982
> ===========================================================
> CIRCULAR 230 DISCLOSURE: Pursuant to Regulations Governing Practice Before the Internal Revenue
> Service, any tax advice contained herein is not intended or written to be used and cannot be used
> by a taxpayer for the purpose of avoiding tax penalties that may be imposed on the taxpayer.
> ===========================================================
> CONFIDENTIALITY NOTICE:
> This electronic mail message and any attached files contain information intended for the exclusive
> use of the individual or entity to whom it is addressed and may contain information that is
> proprietary, privileged, confidential and/or exempt from disclosure under applicable law. If you
> are not the intended recipient, you are hereby notified that any viewing, copying, disclosure or
> distribution of this information may be subject to legal restriction or sanction. Please notify
> the sender, by electronic mail or telephone, of any unintended recipients and delete the original
> message without making any copies.
> ===========================================================
> NOTIFICATION: Katten Muchin Rosenman LLP is an Illinois limited liability partnership that has
> elected to be governed by the Illinois Uniform Partnership Act (1997).
> ===========================================================
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
Jules
--
Julian Field MEng CITP CEng
www.Zend.To
Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
'All programs have a desire to be useful' - Tron, 1982
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20110215/4eed8ec2/attachment-0001.html
More information about the ZendTo
mailing list