[ 
http://jira.magnolia-cms.com/browse/MGNLDMS-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20730#action_20730
 ] 

Jan Haderka commented on MGNLDMS-155:
-------------------------------------

Sounds as reasonable solution and indeed having voters in place it would be 
easy to do. Still we would need to modify all the places where we have links in 
the dialogs ... File Control for sure, perhaps something in DMSDialog as wel, 
maybe dataFile control as well ... anything else?

> Better mechanism to distinguish between inline viewing and direct downloads
> ---------------------------------------------------------------------------
>
>                 Key: MGNLDMS-155
>                 URL: http://jira.magnolia-cms.com/browse/MGNLDMS-155
>             Project: Magnolia DMS Module
>          Issue Type: Improvement
>    Affects Versions: 1.3.0
>            Reporter: Philipp Bracher
>            Assignee: Philipp Bracher
>
> Sorry for all the forth and back in that topic. After a few quite minutes I 
> think that the following solution might be best:
> - if you want to perform a direct download or view the content in the browser 
> depends on the usecase and not on the file type
> - showing the content in the browser should be the default behavior (pdf, 
> images, flash, word, ...)
> - to trigger a direct download the system provides a specific url or parameter
>   -- a) download=true
>   -- b) /dms/file.download.ext (for cachability)
>   -- c) /dms-download/file
> - the dms dialog uses the direct download link
> - the dms dialog shows the image (similar to the binary control in normal 
> dialogs)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to