[ZendTo] Re: Changes to new_dropoff.tpl

Jules Jules at Zend.To
Tue Sep 14 09:08:19 BST 2010


  I've got a fix for you to try. Please put the new_dropoff.tpl file 
back how it was in the 3.62 release, and then apply one edit to it.

At the end of the definition of the function addRecipient() (in the 
JavaScript code right at the top of the file), there is a "return 1;". 
Please remove that "return 1;" statement and save the file again.

Then please give it a try and see if this fixes the problem for you.

The reason I made the change originally was that I wanted a 
"ZendTo-style" button for "Add Recipient" rather than a boring-looking 
browser "submit" button.

This fix works for me. I just want you to check it works for you too, 
before I publish it.

Thanks guys!
Jules.

On 11/09/2010 22:49, Naz Snidanko wrote:
>
> I fixed this issue by replacing new_dropoff.tpl file from 3.52-3 
> release and everything seems to be working great.
>
> Regards,
>
> *Naz Snidanko*
>
> *Desktop & Network Support*
>
> *Harper Power Products Inc.*
>
> *(p) 416 201- 7506*
>
> nsnidanko at harperpowerproducts.com 
> <mailto:nsnidanko at harperpowerproducts.com>
>
> ------------------------------------------------------------------------
>
> *From:* zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] *On 
> Behalf Of *Naz Snidanko
> *Sent:* Saturday, September 11, 2010 11:18 AM
> *To:* ZendTo Users
> *Subject:* [ZendTo] Re: Changes to new_dropoff.tpl
>
> Hi There,
>
> There's definitely something wrong. I tried with both IE7 and firefox 
> (Windows XP all updates) with latest java. I get the following:
>
> IE 7 => it redirects me to verify.php and shows 1
>
> Firefox (latest stable) => redirect and shows 
> javascript:addRecipient(); in the address bar and shows 1
>
> My system is built on top of Ubuntu 10.10 server with latest .tar ball 
> 3.62 (I use AD authenticator and code has slight modification to work 
> with 3 domains). It is clean install, not an upgrade.
>
> Feel free to review it for yourself:
>
> http://zendto.harpergroup.ca <http://zendto.harpergroup.ca/>
>
> Please let me know if there's something I can assist you with.
>
> Thank you,
>
> *Naz Snidanko*
>
> *Desktop & Network Support*
>
> *Harper Power Products Inc.*
>
> *(p) 416 201- 7506*
>
> nsnidanko at harperpowerproducts.com 
> <mailto:nsnidanko at harperpowerproducts.com>
>
> ------------------------------------------------------------------------
>
> *From:* zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] *On 
> Behalf Of *Duncan, Brian M.
> *Sent:* Friday, September 10, 2010 9:57 PM
> *To:* ZendTo Users
> *Subject:* [ZendTo] Re: Changes to new_dropoff.tpl
>
> The behavior he is describing below is what I was having happen when I 
> updated to 3.62-1.   The black screen with 1 displayed, when you add a 
> recipient.
>
> I have not had time to attempt the update again, but this time doing 
> the SQL table update.
>
> 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:* Friday, September 10, 2010 5:20 PM
> *To:* ZendTo Users
> *Subject:* [ZendTo] Re: Changes to new_dropoff.tpl
>
> Add Address is nothing more than a Javascript call within the page, it 
> shouldn't go back to the server at all. The Javascript is all in the 
> new_dropoff.tpl template.
>
> Feel free to have a go at debugging that template code!
>
> What browser+OS are you using? I haven't seen this problem at all myself.
>
> Jules.
>
> On 10/09/2010 22:53, Naz Snidanko wrote:
>
> Hi Jules,
>
> Speaking of this, there is a problem when I try to click "Add Address" 
> it redirects me to blank page and shows nothing but "1". I can't have 
> more than one recipient.
>
> Please advice,
>
> *Naz Snidanko*
>
> *Desktop & Network Support*
>
> *Harper Power Products Inc.*
>
> *(p) 416 201- 7506*
>
> nsnidanko at harperpowerproducts.com 
> <mailto:nsnidanko at harperpowerproducts.com>
>
> ------------------------------------------------------------------------
>
> *From:* zendto-bounces at zend.to <mailto:zendto-bounces at zend.to> 
> [mailto:zendto-bounces at zend.to] *On Behalf Of *Jules
> *Sent:* Friday, September 10, 2010 4:52 PM
> *To:* ZendTo Users
> *Subject:* [ZendTo] Re: Changes to new_dropoff.tpl
>
> Thanks, I have put the first change in place. I changed the 2nd one to 
> "Add Extra Recipient" instead of "Additional" as it's simpler English, 
> which is better for non-native English speakers. Which we have an 
> awful lot of! :-)
>
> Many thanks!
> Jules.
>
> On 10/09/2010 21:26, Brad Beckenhauer wrote:
>
> Julain,
>
> Awhile back you went through and modified the code so that when the 
> "ServiceTitle" in the zendto.conf file was changed, the change 
> appeared on the other web pages.
>
> below is one that you may have overlooked.
>
> --- new_dropoff.tpl.v362        2010-09-10 18:47:29.000000000 +0100
> +++ new_dropoff.tpl     2010-09-10 18:53:50.000000000 +0100
> @@ -221,11 +221,11 @@
> <b>PLEASE NOTE</b>
> <br>
> <br>
> -      Files uploaded to ZendTo are scanned for viruses.  But still
> +      Files uploaded to {#ServiceTitle#} are scanned for viruses.  
> But still
>        exercise the same degree of caution as you would with any other 
> file
>        you download.  Users are also <b>strongly encouraged</b> to encrypt
>        any files containing sensitive information (e.g. personal 
> non-public
> -      information, PNPI) before sending them via ZendTo!  See <a
> +      information, PNPI) before sending them via {#ServiceTitle#}!  
> See <a
>        href="http://www.udel.edu/pnpi/tools/" style="color:#C01010;">this
>        page</a> for information on encryption.
> <br>
>
> This next change is more of an FYI for others that may want to change 
> some of the prompts.
>
> Some of our internal users where complaining about the "Add Address" 
> button and not fully understanding what the button meant so I change 
> the wording for them from "Add Address" to "Add Additional Recipient".
>
> --- new_dropoff.tpl.v362        2010-09-10 18:47:29.000000000 +0100
> +++ new_dropoff.tpl     2010-09-10 18:53:50.000000000 +0100
> @@ -147,7 +147,7 @@
> </td>
> </tr>
> <tr>
> - <td colspan="2" align="right">{call name=button relative=FALSE 
> href="javascript:addRecipient();" <javascript:addRecipient();> 
> text="Add Address"}</td>
> + <td colspan="2" align="right">{call name=button relative=FALSE 
> href="javascript:addRecipient();" <javascript:addRecipient();> 
> text="Add Additional Recipient"}</td>
> </tr>
> <tr>
> <td colspan="2" align="center"><hr></td>
>
>   
>
>   
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to  <mailto:ZendTo at zend.to>
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
> Jules
>   
> -- 
> Julian Field MEng CITP CEng
> www.Zend.To  <http://www.Zend.To>
>   
> Need help fixing or optimising your systems?
> Contact me!
> Need help getting you started solving new requirements from your boss?
> Contact me!
>   
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> Follow me at twitter.com/JulesFM
>
>   
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to  <mailto:ZendTo at zend.to>
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
> Jules
>   
> -- 
> Julian Field MEng CITP CEng
> www.Zend.To  <http://www.Zend.To>
>   
> Need help fixing or optimising your systems?
> Contact me!
> Need help getting you started solving new requirements from your boss?
> Contact me!
>   
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> Follow me at twitter.com/JulesFM
> ===========================================================
> 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

Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20100914/69edbfaa/attachment-0001.html 


More information about the ZendTo mailing list