Hide a specific TicketFreeKey in AgentTicketZoom

Moderator: crythias

Locked
shostakovich
Znuny advanced
Posts: 146
Joined: 11 Apr 2011, 08:11
Znuny Version: 3.2.5

Hide a specific TicketFreeKey in AgentTicketZoom

Post by shostakovich »

Hi,

I want TicketFreeKey5/TicketFreeText5 not to be shown in AgentTicketZoom. Unlike e.g. in Sysconfig, "ViewPriority", visible FreeText fields can not be defined via Sysconfig, right?

Will I have to edit AgentTicketZoom.dtl?

TIA
Michael
MichaelR
Znuny expert
Posts: 250
Joined: 12 Oct 2010, 01:35
Znuny Version: 3.0.9
Company: LRS Health

Re: Hide a specific TicketFreeKey in AgentTicketZoom

Post by MichaelR »

Change the DTL, comment out the generic TicketFreeText block, uncomment/add each TicketFreeText1,2,3 etc... block but leaving out the ones you do not want.

Not to hard :)
OTRS: 3.0.9 & ITSM 3.0.4 - OS: Windows 7 - DB: MySQL - Heaps of random/useful hacks :)
[Major Code Changes]
ArticleFreeTime1-3
Ability to search ArticleFreeText
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Hide a specific TicketFreeKey in AgentTicketZoom

Post by crythias »

or alternatively add javascript to display:none those fields.
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
shostakovich
Znuny advanced
Posts: 146
Joined: 11 Apr 2011, 08:11
Znuny Version: 3.2.5

Re: Hide a specific TicketFreeKey in AgentTicketZoom

Post by shostakovich »

MichaelR wrote:Change the DTL, comment out the generic TicketFreeText block, uncomment/add each TicketFreeText1,2,3 etc... block but leaving out the ones you do not want.
I was hoping I missed something in Sysconfig :) Yes, did it this way, thanks also Crythias.
Locked