Loading...
 
Skip to main content

Features / Usability


Replacing fie in file gallery creates a new id...

How can I replace a file in a file gallery and always keep the same id? (Or, how do I link to the "top" version of a file in a file gallery)?

Scenario:
1) I upload the file test.pdf to a file gallery, tikwiki assigns a fileId of 1
2) I create a wiki entry that links to test.pdf in the file gallery (/tiki-download_file.php?fileId=1)
3) I change test.pdf and upload a new version, tikiwiki assigns a fileId of 2
4) My link in the wiki page still points to the old version (bad news).

How can I link to the "top" copy of a document so I don't have to go and edit all my links each time I upload a document? I mean, I could upload the pdf to the file system outside of TikiWiki and just link to it, but that defeats the purpose.

Thanks,
Chris