Add UNC and file:// support
| Project: | Link |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | rconstantine |
| Status: | needs review |
Jump to:
I have need for links to intranet resources via UNCs. I have added support for this. Users enter a UNC and if the "Title as UNC/URL link" formatter is chosen, the UNC will be displayed as a file:// link. The original UNC is stored in the DB. Note that these types of links work natively in IE, but not FF. There are two work-arounds for Firefox which I note in the formatter's comments. Basically, you can either set certain preferences or you can install an add-on called ietab to get those links working. I prefer the preference settings method.
I haven't extensively tested the alternative which is to have your users convert backslashes to forward slashes and place a "file://///" at the beginning of their path when they enter it in. FF requires (?) the five forward slashes IIRC.
| Attachment | Size |
|---|---|
| link.module.patch | 5.25 KB |

#1
Subscribe. Might break linkchecker... unverified.
#2
I try to add "file" protocol. It's a very tought work cause i had to change several filter function.
Do you have a solution. This protocol can be very helpful in order to link some intranet samba server.
#3