Hi I am pretty new to OTRS and this Forum helped me a lot but now I cant find anything about this.
What I would like to do is adding the "TicketFreetimekey6" "Duedate" to the Agent Overview Mediumsize.
I think I have to add some extra lines into "Kernel/Output/HTML/TicketOverviewMedium.pm" but at the moment I dont know what or where.
Please let me know how I can do this.
My System:
OTRS 3.0.11
ITSM 3.0.5
Windows Server 2008 R2 Standard
Adding Fields to Ticketoverviewmedium
Moderator: crythias
-
- Znuny newbie
- Posts: 5
- Joined: 20 Apr 2012, 12:33
- Znuny Version: 3.0.11
Adding Fields to Ticketoverviewmedium
[LIVE]OTRS 3.1.8
[TEST]OTRS 3.1.8
ITSM 3.1.5
Windows Server 2008 R2 Standard
mysql 5.1.51
Appache
[TEST]OTRS 3.1.8
ITSM 3.1.5
Windows Server 2008 R2 Standard
mysql 5.1.51
Appache
-
- Znuny superhero
- Posts: 630
- Joined: 17 Mar 2011, 14:40
- Znuny Version: 5.0.6
- Real Name: Yuri Kolesnikov
- Location: Russia
Re: Adding Fields to Ticketoverviewmedium
See commented examples in Kernel/Output/HTML/Standard/TicketOverviewMedium.dtl for Free Text/Time fields. There two way for customize - display block of all configured Free Fields? and another way display each field separatly as you want. 

Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
Re: Adding Fields to Ticketoverviewmedium
I managed to do some modifications like this in the customer interface, but have not needed to alter the agent interface. Basically it's all about looking through the HTML on the page (i recommend firefox and firebug for this) and identifying the section in the .dtl file (CustomerTicketOverview.dtl in my case) that corresponds to the columns of the table. Once you know the section in the file that fills a column, copy / paste it and change the data that is inserted, for example $QData{"CustomerName","30"} to $QData{"Age","20"}
You will have to add the header for the new column as well as the record. The views in the agent interface are more complicated than the customer interface, so it may take a bit more copy/pasting to replicate one of the columns. I'd try initially to duplicate one of the existing columns and have two identical ones side by side; once you have that working, you can then try to change the data displayed.
There may already be some freetext sections that are commented out - I've seen this in allot of the overview files. You may just be able to uncomment them to display the freetext columns you need.
You will have to add the header for the new column as well as the record. The views in the agent interface are more complicated than the customer interface, so it may take a bit more copy/pasting to replicate one of the columns. I'd try initially to duplicate one of the existing columns and have two identical ones side by side; once you have that working, you can then try to change the data displayed.
There may already be some freetext sections that are commented out - I've seen this in allot of the overview files. You may just be able to uncomment them to display the freetext columns you need.
Backend: OTRS 3.0.11 RedHat Enterprise Linux 6.2, Apache, MySQL with replication
Frontend: OTRS 3.0.11 RedHat Enterprise Linux 6.2 with SELinux, Apache SSL
Frontend: OTRS 3.0.11 RedHat Enterprise Linux 6.2 with SELinux, Apache SSL
-
- Znuny newbie
- Posts: 5
- Joined: 20 Apr 2012, 12:33
- Znuny Version: 3.0.11
Re: Adding Fields to Ticketoverviewmedium
Using the example blocks in the .dtl worked pretty good for me. Searching in the right files helps sometimes too.
Thanks for the awesome fast help. Wouldn't have found it in ages.
Thanks for the awesome fast help. Wouldn't have found it in ages.
[LIVE]OTRS 3.1.8
[TEST]OTRS 3.1.8
ITSM 3.1.5
Windows Server 2008 R2 Standard
mysql 5.1.51
Appache
[TEST]OTRS 3.1.8
ITSM 3.1.5
Windows Server 2008 R2 Standard
mysql 5.1.51
Appache