Show custom link on AgentTicketZoom

English! place to talk about development, programming and coding
Post Reply
GMunjal
Znuny advanced
Posts: 108
Joined: 23 Oct 2013, 09:17
Znuny Version: 3.3.0 beta 2
Real Name: Gaurav Munjal
Company: Nagarro

Show custom link on AgentTicketZoom

Post by GMunjal »

Hi,

I have created a custom link "ABC" for AgentTicketZoom. Now I want to show this link on AgentTicketZoom only when the opened ticket has a particular ticket type "xyz". Where should I write code about this?

Thanks & Regards,
Gaurav
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Show custom link on AgentTicketZoom

Post by crythias »

javascript in the appropriate dtl
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
GMunjal
Znuny advanced
Posts: 108
Joined: 23 Oct 2013, 09:17
Znuny Version: 3.3.0 beta 2
Real Name: Gaurav Munjal
Company: Nagarro

Re: Show custom link on AgentTicketZoom

Post by GMunjal »

Do I need to add javascript code in AgentTicketZoom.dtl for this?
GMunjal
Znuny advanced
Posts: 108
Joined: 23 Oct 2013, 09:17
Znuny Version: 3.3.0 beta 2
Real Name: Gaurav Munjal
Company: Nagarro

Re: Show custom link on AgentTicketZoom

Post by GMunjal »

Hi,

Can someone tell me how can I do this?

Thanks!
Gaurav
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Show custom link on AgentTicketZoom

Post by crythias »

GMunjal wrote:I have created a custom link "ABC" for AgentTicketZoom. Now I want to show this link on AgentTicketZoom only when the opened ticket has a particular ticket type "xyz". Where should I write code about this?
crythias wrote:javascript in the appropriate dtl
GMunjal wrote:Do I need to add javascript code in AgentTicketZoom.dtl for this?
I didn't respond because I thought the answer was obvious.

Apparently not.

Did you try it? Did it work? Did it not work? What worked? What didn't? Do you need someone to type the code for you?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Post Reply