Project

General

Profile

Hyperlink to Files in issues and Wiki

Added by Sven Bartha about 13 years ago

Hello,

I am new in this group, so maybe my question is already discussed elsewhere ...
Anyway,
What I would link to do is place a link towards a files, which is not stored inside the redmine repository,
but just somewhere on network drive. This would be interesting for both the wiki and the issue tracker.
Is there a simple trick to do it ?  (e.g. use HTML syntax for an file URL )

Regards,
Sven


Replies (3)

RE: Hyperlink to Files in issues and Wiki - Added by André Bachmann about 13 years ago

You can use links starting with file:// (see also http://en.wikipedia.org/wiki/File_URI).
But beware of a security feature of Mozilla Firefox and Google Chrome (and maybe other browsers as well) - they won't open file URIs if the site is opened by another protocol (for example http://). Microsoft IE will open file URIs from anywhere.

There is a workaround for Firefox, but I don't know if there is one for Chrome.

RE: Hyperlink to Files in issues and Wiki - Added by Sven Bartha about 13 years ago

Thanks for the response.

I tried, but it did not work. The http links are displayed as links, while the file:// is ignored.

The lines I have placed in the redmine wiki are the following ones:

ProjectSchedule

Die Datei mit dem aktuellen Schedule ist:

file://localhost/NearMisses.ppt

http://www.google.de/

RE: Hyperlink to Files in issues and Wiki - Added by André Bachmann about 13 years ago

Here is an example for a local file 'bizwatch.zip' in C:\work\downloads\:

"I'm a link":file:///c:/work/downloads/bizwatch.zip

And here for a directory on a Windows SMB share:

"Link to a directory in your intranet":file://///server/projects/

The slashes are very important.

    (1-3/3)