Type in your suggestion - new feature or improvement idea

Linking to documents

It would like the ability to link to documents within the default "link" panel rather then having "files" as a unique type.

The benefit of linking to documents using the "link" method is that users could select if the document should open in a new window (or not) and also select a button style.

Attached is a quick mock-up illustrating how this could look.

13 votes
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)

We’ll send you updates on this idea

MergeC shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

8 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • Alex Sirota commented  ·   ·  Flag as inappropriate

    This is an important wishlist item to treat documents in the file manager as equal citizens to other pages.

    One interesting thing about downloading files though. Many web browsers "preview" the link and render it without a helper application - images, PDFs and other data types are dealt with in a different way.

    Fillable PDFs for example are sometimes not fillable at all (see Firefox). Interactive PDFs that have calculations break very often as well due to lack of implementation support for the full PDF specification.

    Using the HTML5 "download" attribute it is possible to force the browser to download the file rather than render it for preview. This will allow users to open the documents in the ****** "helper" application when necessary.

    Details on this very useful, and little known feature that is supported in all the major browsers and platforms.
    https://www.w3schools.com/tags/att_a_download.asp

  • MergeC commented  ·   ·  Flag as inappropriate

    Dmitry, is there a way to attach images to these comment posts? I have created a quick mock-up illustrating an idea for linking to documents from within the default "link" panel.

    Would you prefer me to post it in the Wishlist forum instead?

  • MergeC commented  ·   ·  Flag as inappropriate

    I think this is a important feature. It has my vote. This wouldn't be nessesary if it was possible to link to documents with the default link panel. The default link feature allows the user to define if it opens in a new window or not and also define a button style as well (which would be cool).

  • Dmitry Buterin commented  ·   ·  Flag as inappropriate

    As we did not get any other requests regarding this, we have decided to remove it from our wishlist for now.

  • Dmitry Buterin commented  ·   ·  Flag as inappropriate

    The thing with documents is that depending on document type and user settings it will either be either downloaded or opened inline. So target has less effect than for links.

    Nevertheless this is a valid request and we will add it to our list.

  • egerter commented  ·   ·  Flag as inappropriate

    If you add a link to a webpage, the Edit Link dialog includes an option to have the link Open in a New Window or the Same Window.

    If you add a document to a webpage, the Insert Document dialog does not include this option and always opens in the Same Window. It would be very convenient if this option were added here as well.

    I currently have go into the HTML code and add a target=_blank attribute to the <A> tag manually for each document link, which is very error-prone. Thanks!

Feedback and Knowledge Base