Extra Buttons/Links for Display.html


#1

Hello,
I’d like to add some links where “Open” “Comment” “Reply” "Resolve"
are. I’d like to add a “Quick Resolve” and a “Stall” link if possible.
I know that
http://Domain/Ticket/Display.html?Status=resolved&id=12345
http://Domain/Ticket/Display.html?Status=stalled&id=12345
Will work, I just don’t know how to get them up there, and Show up like
the “Open” shows up only when the ticket is in a status other than open.

IE: Quick Resolve will be hidden when the ticket is resolved, etc…

Scott Benson
A1 Networks
(707)570-2021 x203


#2

Scott,

Copy  the "Tabs" file from "/share/html/Ticket/Elements/" to your local 

directory “/local/html/Ticket/Elements”. You may have to create some of
those “local” directories if you have never done this before. Once you
have a “local” version of the “Tabs” file, you will need to look inside
to see how those tab options are set up. I re-wrote most of the whole
section (after lines # 153 and @44) to get what I wanted. I also had to
play with it a bit to get the desired actions & results. Hey, that’s
what testing is for, right? Hope this helps.

Kenn
LBNLOn 7/10/2008 2:33 PM, Scott Benson wrote:

Hello,
I’d like to add some links where “Open” “Comment” “Reply” "Resolve"
are. I’d like to add a “Quick Resolve” and a “Stall” link if possible.
I know that
http://Domain/Ticket/Display.html?Status=resolved&id=12345
http://Domain/Ticket/Display.html?Status=stalled&id=12345
Will work, I just don’t know how to get them up there, and Show up like
the “Open” shows up only when the ticket is in a status other than open.

IE: Quick Resolve will be hidden when the ticket is resolved, etc…


#3

Actually in this case you can use callbacks, read about that on the
wiki. Callbacks is better way than local/html dir.On Fri, Jul 11, 2008 at 2:04 AM, Kenneth Crocker KFCrocker@lbl.gov wrote:

Scott,

   Copy  the "Tabs" file from "/share/html/Ticket/Elements/" to your local

directory “/local/html/Ticket/Elements”. You may have to create some of
those “local” directories if you have never done this before. Once you
have a “local” version of the “Tabs” file, you will need to look inside
to see how those tab options are set up. I re-wrote most of the whole
section (after lines # 153 and @44) to get what I wanted. I also had to
play with it a bit to get the desired actions & results. Hey, that’s
what testing is for, right? Hope this helps.

Kenn
LBNL

On 7/10/2008 2:33 PM, Scott Benson wrote:

Hello,
I’d like to add some links where “Open” “Comment” “Reply” "Resolve"
are. I’d like to add a “Quick Resolve” and a “Stall” link if possible.
I know that
http://Domain/Ticket/Display.html?Status=resolved&id=12345
http://Domain/Ticket/Display.html?Status=stalled&id=12345
Will work, I just don’t know how to get them up there, and Show up like
the “Open” shows up only when the ticket is in a status other than open.

IE: Quick Resolve will be hidden when the ticket is resolved, etc…


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

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.