Viewing downloads in a separate browser

How can I get the “Download (untitled)” link to open the attachment/message
in a separate browser?

I searched the archives but couldn’t find anything about this.

Thanks!

Chago

Easy!

Edit the html page and add a target=“_blank” in the part.
(sorry but i dont have the access to the filesystem now to give you the
right path)

Best regards,
Jorge-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com]On Behalf Of Adolfo
Santiago
Sent: quarta-feira, 18 de Fevereiro de 2004 19:13
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Viewing downloads in a separate browser

How can I get the “Download (untitled)” link to open the attachment/message
in a separate browser?

I searched the archives but couldn’t find anything about this.

Thanks!

Chago

rt-users mailing list
rt-users@lists.bestpractical.com
http://lists.bestpractical.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Thanks for the reply. I kinda already knew that, though…

What I’m looking for is precisely which file I need to modify. I’ve looked
in the various History and Display, but can’t figure out where the code
that generates that link is.

Chago

Thanks for the reply. I kinda already knew that, though…

What I’m looking for is precisely which file I need to modify. I’ve looked
in the various History and Display, but can’t figure out where the code
that generates that link is.

Copy /path/to/rt3/share/html/Ticket/Elements/ShowTransaction to
/path/to/rt3/local/html/Elements/ShowTransaction and modify it there.

Michael
Michael S. Liebman m-liebman@northwestern.edu
http://msl521.freeshell.org/
“I have vision and the rest of the world wears bifocals.”
-Paul Newman in “Butch Cassidy & the Sundance Kid”

Thanks! I will give that a try.

One question about the paths you mentioned… I see a lot of people
referring to (in my case):

/opt/rt3/local/html/…

That directory exists on my system, but there is current nothing in it.
Does RT3 look in there first, and then in /opt/rt3/share/html/…?

Thanks!

Chago

I found the spot to make the change. For posterity, it was this line:

Original:

<&|/l&>Download</&> <% $message->Filename || loc(’(untitled)’)
%> <% $size %>

Modified:
|
V
<&|/l&>Download</&> <% $message->Filename || loc(’(untitled)’)
%>
<% $size %>

Now, attachments open in a separate browser.

As we used to say in the military: “Works great, lasts a long time.”

Thanks!

Chago

Adolfo Santiago wrote:

Thanks! I will give that a try.

One question about the paths you mentioned… I see a lot of people
referring to (in my case):

/opt/rt3/local/html/…

That directory exists on my system, but there is current nothing in it.
Does RT3 look in there first, and then in /opt/rt3/share/html/…?
Yes, you are right here. It’s specialy for overriding things. Just be
carefull on upgrade, ShowTransaction could be changed in new version,
but you’ll never see this.
Best regards. Ruslan.