I did this.<br><br>Now users can re-upload (replace) file in exist Dropoff. They can update DropOff and have non-changeable links to files.<br><br>It was no so difficult as I thought at start.<br><br>The solution is taken 1 new php file, 1 new sql function and small changes in show_dropoff.tpl.<br>
<br>If it's interesting for somebody you can try and improve my solution. All changes in attaching file. <br><br><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 23, 2012 at 2:07 PM, Jules <span dir="ltr"><<a href="mailto:Jules@zend.to" target="_blank">Jules@zend.to</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It's all in NSSDropoff.php, which is quite long but reasonably well<br>
commented so you can find the code you want.<br>
<br>
Personally, I wouldn't bother, I've never had users actually ask for<br>
that who aren't perfectly happy with the response "just make a new<br>
drop-off and forget the old one".<br>
<br>
It won't be trivial to implement...<br>
<div><div class="h5"><br>
On 21/11/2012 18:01, Artyom Aleksandrov wrote:<br>
><br>
> Hi, I would like to add additional functional for my Zendto installation.<br>
><br>
> I want to allow users for edit they exist dropoffs.<br>
> At first only re-upload (replace) files (replace) and do not change<br>
> claimID/claimCode.<br>
><br>
> Can you please say in what place I need to dig?<br>
><br>
> May be there is function uploadfile(claimid, file) ?<br>
><br>
><br>
><br>
</div></div>> Jules<br>
<span class="HOEnZb"><font color="#888888">><br>
> --<br>
> Julian Field MEng MBCS CITP CEng<br>
> <a href="http://www.Zend.To" target="_blank">www.Zend.To</a><br>
><br>
> Twitter: @JulesFM<br>
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<br>
><br>
> 'It's okay to live without all the answers' - Charlie Eppes, 2011<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
ZendTo mailing list<br>
<a href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><br>
<a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a><br>
</div></div></blockquote></div><br></div>