Hi,
I have the following dilema:
- A story/page has been created, with a few attachments.
- One of said attachments is referenced in the story as '<a href="system/files?file=foo.bah">'
- Said attachment is also referenced elsewhere on our site.
- We have attachments configured as private (ie. the 'files' directory is outside the server root and attachments have to be referenced through 'system/files?file=...'
- I'd like to replace the attachment with a new revision (keeping the old one if possible for rollback/moderation) and keeping the URL reference intact.
Few questions spring to mind:
1. How does one replace foo.bah without changing the links or file order? Adding a new one, removing the old changes the name to foo_0.bah and moves it to the bottom of the attachment list.
2. I tried filemanager and alternate attachment modules that seemed to have no effect. Installed and enabled them. Tried disabling standard 'upload' module without joy. How are these supposed to work? Can you even use them after inserting initial content?
3. I also tried creating an alias with 'foo.bah->system/files?file=foo.bah', thinking that later this could be changed to 'foo.bah->system/files?file=foo_0.bah'. That doesn't work. Looking for foo.bah gives you a page not found error, the system log says 'system/files?file=foo.bah not found' even though that location does give something when entered directly.