Gallery: updating of existing files Posted by Florian Link 28 Jan 2004 12:36 GMT-0000 posts: 18 Hi, can anyone tell me if there is a way of uploading a new version of a file to one of the Galleries without changing the unique id? This would be a great feature, because otherwise one has to change ALL Wiki links to the new id.
Posted by Damian Parker 28 Jan 2004 13:12 GMT-0000 posts: 2881 Hi! Yes, you would need to delete and re-upload the new file getting a new ID If you want to poke around in the db and have filesystem storage. you can always get the md5 hash for the file and then ftp a new copy up with the same name. (Dont know how successful that would be) Damian
Posted by ajain 28 Jan 2004 22:24 GMT-0000 posts: 10 I second your request. Being able to update existing files would be a very useful feature.
Posted by Florian Link 31 Jan 2004 16:03 GMT-0000 posts: 18 I programmed a re-upload button to the file gallery and plan to do the same for the image gallery. It's only some lines of extra code and very useful because the re-uplaoded file keeps the old unique id, so no links are brocken. Can anyone tell me which is the best way to get it added to the main CVS branch? Should I submit a patch on SourceForge, mail to the developer mailing list?
Posted by Damian Parker 31 Jan 2004 19:23 GMT-0000 posts: 2881 Hey! Nice work! Do you know CVS? if so, post me your SF logon and I'll add you to the CVS write access, otherwise mail it damian(AT)tikiwiki.org and I'll make sure it gets added. Damian > florianlink: > I programmed a re-upload button to the file gallery and plan to do the same for the image gallery. It's only some lines of extra code and very useful because the re-uplaoded file keeps the old unique id, so no links are brocken. > > Can anyone tell me which is the best way to get it added to the main CVS branch? Should I submit a patch on SourceForge, mail to the developer mailing list? >
Posted by Florian Link 02 Feb 2004 08:33 GMT-0000 posts: 18 Hi Damian, Thanks for the offer, CVS is fine with me. My Sourceforge login is also "florianlink", don't wonder my account is quite new, TikiWiki is the first SF project I'm dedicated to 😎 best regards, Florian
Posted by Damian Parker 31 Jan 2004 19:23 GMT-0000 posts: 2881 Hey! Nice work! Do you know CVS? if so, post me your SF logon and I'll add you to the CVS write access, otherwise mail it damian(AT)tikiwiki.org and I'll make sure it gets added. Damian > florianlink: > I programmed a re-upload button to the file gallery and plan to do the same for the image gallery. It's only some lines of extra code and very useful because the re-uplaoded file keeps the old unique id, so no links are brocken. > > Can anyone tell me which is the best way to get it added to the main CVS branch? Should I submit a patch on SourceForge, mail to the developer mailing list? >
Posted by Florian Link 02 Feb 2004 08:33 GMT-0000 posts: 18 Hi Damian, Thanks for the offer, CVS is fine with me. My Sourceforge login is also "florianlink", don't wonder my account is quite new, TikiWiki is the first SF project I'm dedicated to 😎 best regards, Florian