Open new window when selecting attachments

Hi,

We are running RT 3.0.12, Apache 1.3.29, perl 5.8.4.

While in RT, if a user sends in an attachment and I select it to view, it opens the attachment in the same browser as RT. To get back to the ticket, I hit the ‘Back’ button. When I do this, RT creates a duplicate attachment.

Is there a way to have RT create a new window when selecting the attachment for viewing?

Thanks,
Bruce

This E-mail is confidential. It should not be read, copied, disclosed or used by any person other than the intended recipient. Unauthorized use, disclosure or copying by whatever medium is strictly prohibited and may be unlawful. If you have received this E-mail in error, please contact the sender immediately and delete the E-mail from your system.

I have a small problem here. When a ticket created by a non-privileged user,
it shows 2 requestor. The first one is the correct one, i.e. a real
requestor, and the second one is one of users I have in the Users table. And
for all tickets this second requestor seems to be the same.

I know the problem is because I recently deleted some stuff from some of the
tables. However, I wonder how RT stores info about requestors in the
database. I found a field Creator in Tickets table, which obviously stores
one of the requestors. But what if there are several requestors for a
ticket?

Change share/html/Ticket/Elements/ShowAttachment :

<A
HREF="<%$RT::WebPath%>/Ticket/Attachment/<%$rev->TransactionId%>/<%$rev->Id%

/<%$rev->Filename | u%>"><%$rev->CreatedAsString%> (<% $size
%>)

to:

<A
HREF="<%$RT::WebPath%>/Ticket/Attachment/<%$rev->TransactionId%>/<%$rev->Id%

/<%$rev->Filename | u%>" target=“blank”><%$rev->CreatedAsString%> (<% $size
%>)

A.-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Kogami, Bruce
Sent: Monday, June 21, 2004 7:16 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Open new window when selecting attachments

Hi,

We are running RT 3.0.12, Apache 1.3.29, perl 5.8.4.

While in RT, if a user sends in an attachment and I select it to view, it
opens the attachment in the same browser as RT. To get back to the ticket, I
hit the ‘Back’ button. When I do this, RT creates a duplicate attachment.

Is there a way to have RT create a new window when selecting the attachment
for viewing?

Thanks,
Bruce

This E-mail is confidential. It should not be read, copied, disclosed or
used by any person other than the intended recipient. Unauthorized use,
disclosure or copying by whatever medium is strictly prohibited and may be
unlawful. If you have received this E-mail in error, please contact the
sender immediately and delete the E-mail from your system.
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

RT Developer and Administrator training is coming to LA, DC and Frankfurt
this spring and summer.
http://bestpractical.com/services/training.html

Sign up early, as class space is limited.

And change share/html/Ticket/Elements/ShowTranactions line 111 to reflect the same change.

mvh/yours
Anders Hansen-Øvre, Seniorkonsulent

Thanks, I’ll try it.

Bruce

-----Original Message-----
From: Anders Hansen-Øvre [mailto:Anders.Hansen-Ovre@contra.no]
Sent: Monday, June 21, 2004 12:01 PM
To: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] Open new window when selecting attachments

And change share/html/Ticket/Elements/ShowTranactions line 111 to reflect
the same change.


mvh/yours
Anders Hansen-Øvre, Seniorkonsulent

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf
Of Aleš Sušnik
Sent: 21. juni 2004 20:48
To: ‘Kogami, Bruce’; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] Open new window when selecting attachments

Change share/html/Ticket/Elements/ShowAttachment :

<A
HREF="<%$RT::WebPath%>/Ticket/Attachment/<%$rev->TransactionId
%>/<%$rev->Id%

/<%$rev->Filename | u%>"><%$rev->CreatedAsString%> (<% $size
%>)

to:

<A
HREF="<%$RT::WebPath%>/Ticket/Attachment/<%$rev->TransactionId
%>/<%$rev->Id%

/<%$rev->Filename | u%>"
target=“blank”><%$rev->CreatedAsString%> (<%
$size
%>)

A.

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf
Of Kogami, Bruce
Sent: Monday, June 21, 2004 7:16 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Open new window when selecting attachments

Hi,

We are running RT 3.0.12, Apache 1.3.29, perl 5.8.4.

While in RT, if a user sends in an attachment and I select it
to view, it opens the attachment in the same browser as RT.
To get back to the ticket, I hit the ‘Back’ button. When I do
this, RT creates a duplicate attachment.

Is there a way to have RT create a new window when selecting
the attachment for viewing?

Thanks,
Bruce


This E-mail is confidential. It should not be read, copied,
disclosed or used by any person other than the intended
recipient. Unauthorized use, disclosure or copying by
whatever medium is strictly prohibited and may be unlawful.
If you have received this E-mail in error, please contact the
sender immediately and delete the E-mail from your system.



http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

RT Developer and Administrator training is coming to LA, DC
and Frankfurt this spring and summer.
http://bestpractical.com/services/training.html

Sign up
early, as class space is limited.


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

RT Developer and Administrator training is coming to LA, DC
and Frankfurt this spring and summer.
http://bestpractical.com/services/training.html

Sign up
early, as class space is limited.


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

RT Developer and Administrator training is coming to LA, DC and Frankfurt
this spring and summer.
http://bestpractical.com/services/training.html

Sign up early, as class space is limited.

This E-mail is confidential. It should not be read, copied, disclosed or used by any person other than the intended recipient. Unauthorized use, disclosure or copying by whatever medium is strictly prohibited and may be unlawful. If you have received this E-mail in error, please contact the sender immediately and delete the E-mail from your system.