Hide Field in Ticket (Output Filter)

English! place to talk about development, programming and coding
Post Reply
miramar
Znuny newbie
Posts: 33
Joined: 07 Oct 2012, 21:54
Znuny Version: 3.3.8
Real Name: Bernd Renzing

Hide Field in Ticket (Output Filter)

Post by miramar »

Hi,

It should be possible to hide a field (esp. the SLA Field) without changing the dtl files. I learned that the best way for this a html output filter is.
Is it also possible to move fields (esp. from down to up?) with output filters?

Has anybody a short piece of example code for me?

Regards, Bernd.
OTRS 3.2.5 ITSM, FAQ, MyServices, RegexCheck4Cmdb and support contract available...
joecopty
Znuny newbie
Posts: 22
Joined: 11 Jan 2013, 01:42
Znuny Version: 3.2.6
Real Name: Joseph Copty
Company: TMC

Re: Hide Field in Ticket (Output Filter)

Post by joecopty »

Hi,
I have also been trying to figure out how to do this for a new phone ticket.
Is it possible to remove/reorder the fields in the ticket?
Have u found out how to do this.
I am very new to OTRS and perl.
Thanks
Joe
Sydney, Australia
OTRS 3.3.6 on Windows Server 2003, IIS6 with MSSQL database
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Hide Field in Ticket (Output Filter)

Post by reneeb »

A sample filter https://github.com/reneeb/otrs-QuickClo ... erClose.pm the repository has also the config settings to enable the filter (see Kernel/Config/Files/QuickClose.xml)

You do a complete rebuild of the page... To reorder fields, you have to know regular expressions.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
joecopty
Znuny newbie
Posts: 22
Joined: 11 Jan 2013, 01:42
Znuny Version: 3.2.6
Real Name: Joseph Copty
Company: TMC

Re: Hide Field in Ticket (Output Filter)

Post by joecopty »

Thanks a lot. I will start playing around with it.
Cheers,
Joe
Sydney, Australia
OTRS 3.3.6 on Windows Server 2003, IIS6 with MSSQL database
Sabyr
Znuny newbie
Posts: 11
Joined: 27 Aug 2013, 12:14
Znuny Version: 6.0.3
Real Name: Arman

Re: Hide Field in Ticket (Output Filter)

Post by Sabyr »

reneeb wrote: 11 Jan 2013, 13:47 A sample filter https://github.com/reneeb/otrs-QuickClo ... erClose.pm the repository has also the config settings to enable the filter (see Kernel/Config/Files/QuickClose.xml)

You do a complete rebuild of the page... To reorder fields, you have to know regular expressions.
Reneeb,
Is it possible to update the link, as it not valid now?
OTRS 6.0.3
ITSM 6.0.3
Ubuntu Server 16.04 Xenial
MySQL 5.7
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Hide Field in Ticket (Output Filter)

Post by reneeb »

Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Post Reply