Side Menu
You are here:
Added by Paulius Sladkevičius almost 10 years ago
Hi,
if it’s possible to link to attachment that is added under wiki page except full url, f.e. Some text
Thanks
Replies (1)
Hi,
it is currently not possible to link attachments under a different name with the attachment syntax.
In case you (or someone else) wants to change that, the corresponding code can be found in the application_helper.rb file (line 801).
A possible workaround is to use regular links. Copy the attachments download link (like
https://my-example-openproject.org/attachments/1234/important.pdf
) and create a link to it withBeware: The link might break if you change your file/attachment host or move your openproject instance to another url (the attachment syntax wouldn’t break in that case).
cheers,
Philipp