Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » One click file download from admin/assets

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 760 Views
  • zerrvox
    1 Post

    One click file download from admin/assets Link to this post


    I've been trying to make it possible to download a file from the assets section without first opening the file details window. I have successfully added a new link in the list (AssertTableField.ss) which point directly at the file and works in Firefox. The problem is that in IE the detail window/iframe still opens. I then tried to make a Director::redirect of the frame in AssertTableField.php to the file hoping that would promt a download but I keep getting the 404 page instead.

    Any idea how to circumvent the ajax detail window?

    Any help is much appreciated.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.