Summary | attachments should download instead of invoking view if $mime_drivers['horde']['blah']['location'] is unset |
Queue | IMP |
Queue Version | 4.0.3 |
Type | Enhancement |
State | Rejected |
Priority | 1. Low |
Owners | |
Requester | liamr (at) umich (dot) edu |
Created | 04/21/2005 (7416 days ago) |
Due | |
Updated | 04/22/2005 (7415 days ago) |
Assigned | |
Resolved | 04/22/2005 (7415 days ago) |
Milestone | |
Patch | No |
State ⇒ Rejected
sense to me.
$mime_drivers['horde']['blah']['location']
line, it shows you that attachment info, w/o the filename being a
link.. forcing the user to use the actual download icon.
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ attachments should download instead of invoking view if $mime_drivers['horde']['blah']['location'] is unset
Queue ⇒ IMP
http://marc.theaimsgroup.com/?l=imp&m=111298992719086&w=2
and I couldn't really tell from Michael Slusarz's suggestion...
http://marc.theaimsgroup.com/?l=imp&m=111299329404449&w=2
if some sort of "fix" had been added to HEAD.
My suggestion is to change the behavior of the link that contains the
attachment's file name when the mime driver's 'location' parameter is
empty or unset.
Eg... say horde/config/mime_drivers.php says..
$mime_drivers['horde']['msword']['location'] = '/usr/bin/wvHtml';
When a user gets a word attachment, the see something like..
2 example.doc [application/msword] 54 KB Download
It shows the word icon, and when they follow the "example.doc" link,
IMP will try to invoke wvHtml, displaying an error message if it's not
installed.
Say there are users who still want the word icon to be displayed (so
they don't comment out /remove the "msword entry" from
$mime_drivers_map['horde']['registered']) , but don't want to install
wvHtml? What if setting
$mime_drivers['horde']['msword']['location'] = '';
changed the default behavior of the "example.doc" link from "invoke
wvHtml" to "download this file (using the horde download mechanism)?