[rt-users] how to disable inline display of attachments

doogles at doogles.com doogles at doogles.com
Tue Aug 23 07:46:36 EDT 2005


>>> I'm using RT 3.2.1 and would like to disable the display of
>>> attachments
>>> inline in the main ticket display.
>> What kind of attachments are they?
>
>The attachments are large text files (data) which nobody would ever
>want to look at inline (not even the first few lines of each, although
>that would be better than the whole thing). I've told the users to
>start compressing them before attaching, which they should be doing
>anyway.
>
>In my experience, attachments usually play a supporting role with
>respect to the main message, and, even if the attachments are short, it
>still is usually not appropriate to display them in-line in the main
>ticket history. It makes the ticket history really hard to visually
>scan if there are a bunch of comments and a bunch of in-line
>attachments made at different times.

This one goes back a ways (Nov, 2004) but I couldn't seem to find an 
answer.  Like the original poster, MaxInlineBody doesn't do what I need, I 
just want to leave the .txt attachments as Attachments and not show them 
inline.

Does anyone have a patch for this (RT 3.2.3) or can anyone point me in the 
right direction for what I need to modify?  I'm no coder, but I've managed 
to hack in a few modifications that do what we need.  From my amateur 
point of view, it appears text attachments and emails that come in text 
are stores text/plain meaning I can't handle this in 
ShowTransactionAttachments; it appears I'd need to handle this as the 
attachment came in?

-jd



More information about the rt-users mailing list