Hello
In ticket zoom screen, OTRS cuts the values of the fields in the ticket info panel, such as "Queue". Instead of showing the whole string like "Reclamation-Queue-Level3", it only shows something like "Reclamation-Queue-Lev[...]".
Is there any way of increasing the default size of the values showed?
Thank you in advance.
Regards
[SOLVED] Fields size in ticketinfo panel on zoom screen
Moderator: crythias
-
- Znuny newbie
- Posts: 40
- Joined: 16 Apr 2012, 02:00
- Znuny Version: 3.2.2
- Real Name: Fernando Naranjo
- Company: Universidad de Zaragoza
[SOLVED] Fields size in ticketinfo panel on zoom screen
Last edited by leo5nidas on 02 Jul 2013, 12:24, edited 5 times in total.
OTRS 3.2.2 (production/testing) on Debian 5.04 Lenny with MySQL database
-
- 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: Fields size in ticketinfo panel on zoom screen
You can change the template...
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 40
- Joined: 16 Apr 2012, 02:00
- Znuny Version: 3.2.2
- Real Name: Fernando Naranjo
- Company: Universidad de Zaragoza
Re: Fields size in ticketinfo panel on zoom screen
Ok, thank you. So I suppose the size of the field could be set up in the AgentTicketZoom.dtl file. Right?reneeb wrote:You can change the template...
OTRS 3.2.2 (production/testing) on Debian 5.04 Lenny with MySQL database
-
- 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: Fields size in ticketinfo panel on zoom screen
Right. You'll find something like "$QData{"Queue","30"}". The "30" means "show 30 chars and when it's longer, skip the rest and show '[...]'". You have to increase this value or remove it (then you should have $QData{"Queue"})
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 40
- Joined: 16 Apr 2012, 02:00
- Znuny Version: 3.2.2
- Real Name: Fernando Naranjo
- Company: Universidad de Zaragoza
Re: Fields size in ticketinfo panel on zoom screen
Ok, understood. Thank you very much for your great explanation. That was very useful.
Regards
Regards
OTRS 3.2.2 (production/testing) on Debian 5.04 Lenny with MySQL database
-
- Znuny newbie
- Posts: 40
- Joined: 16 Apr 2012, 02:00
- Znuny Version: 3.2.2
- Real Name: Fernando Naranjo
- Company: Universidad de Zaragoza
Re: Fields size in ticketinfo panel on zoom screen
Reneeb, I have a last question for you: The solution you have tell me works with the default fields. However, when I try to do the same with the dynamic fields I replace $Data{"Value"} with $QData{"Value","45"} in the code, but the system ignores the size 45 and keeps limiting the size to the 18 characters by default.reneeb wrote:Right. You'll find something like "$QData{"Queue","30"}". The "30" means "show 30 chars and when it's longer, skip the rest and show '[...]'". You have to increase this value or remove it (then you should have $QData{"Queue"})
Is there any way of increase the size of the dynamic field values in the AgentTicketZoom.dtl?
Thank you in advance again.
Best regards
OTRS 3.2.2 (production/testing) on Debian 5.04 Lenny with MySQL database
-
- 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: Fields size in ticketinfo panel on zoom screen II
No, you have to change Kernel/Modules/AgentTicketZoom.pm . Search for "ValueMaxChars"....
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 40
- Joined: 16 Apr 2012, 02:00
- Znuny Version: 3.2.2
- Real Name: Fernando Naranjo
- Company: Universidad de Zaragoza
Re: Fields size in ticketinfo panel on zoom screen II
Thank you very much, reneeb. That was very helpful!
OTRS 3.2.2 (production/testing) on Debian 5.04 Lenny with MySQL database