How to change length of custom fields in views?

Moderator: crythias

Post Reply
Thomymaster
Znuny newbie
Posts: 76
Joined: 26 Sep 2016, 10:50
Znuny Version: 5.0.12
Company: MPImF Heidelberg

How to change length of custom fields in views?

Post by Thomymaster »

Hi

I have one dynamic field which can get quite long in size (25 characters).

In the ticket overview screen, as well as in the ticket detail view, the data is then shown, but stripped with a [...] in the end.

How can i adjust the ticket overview as well as the ticket view to show either i.e. 20 characters, or always to show the full data?


Best,
Thomas
OTRS 5.0.12 on Ubuntu 14.04 LTS
OTRS 5.0.27 on Ubuntu 16.04 LTS
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: How to change length of custom fields in views?

Post by reneeb »

Search for Ticket::Frontend::DynamicFieldsZoomMaxSizeSidebar in the SysConfig
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
Thomymaster
Znuny newbie
Posts: 76
Joined: 26 Sep 2016, 10:50
Znuny Version: 5.0.12
Company: MPImF Heidelberg

Re: How to change length of custom fields in views?

Post by Thomymaster »

Hi

Ok thanks, this did the trick for the ticket zoom view. :)

But i still need to adjust the text size in the ticket overview (for the custom fields)
OTRS 5.0.12 on Ubuntu 14.04 LTS
OTRS 5.0.27 on Ubuntu 16.04 LTS
Thomymaster
Znuny newbie
Posts: 76
Joined: 26 Sep 2016, 10:50
Znuny Version: 5.0.12
Company: MPImF Heidelberg

Re: How to change length of custom fields in views?

Post by Thomymaster »

Does nobody have a clue?
OTRS 5.0.12 on Ubuntu 14.04 LTS
OTRS 5.0.27 on Ubuntu 16.04 LTS
kruegerM
Znuny expert
Posts: 213
Joined: 02 Dec 2010, 16:53
Znuny Version: 6.0.29
Real Name: Marc
Company: National Jewish Health
Location: Denver, CO

Re: How to change length of custom fields in views?

Post by kruegerM »

try using an inline style and include !important to override any css - ie;

style: "font-size:24pt !important"

M
Thomymaster
Znuny newbie
Posts: 76
Joined: 26 Sep 2016, 10:50
Znuny Version: 5.0.12
Company: MPImF Heidelberg

Re: How to change length of custom fields in views?

Post by Thomymaster »

Hi

Ok but in which file i can override the CSS? :)
OTRS 5.0.12 on Ubuntu 14.04 LTS
OTRS 5.0.27 on Ubuntu 16.04 LTS
kruegerM
Znuny expert
Posts: 213
Joined: 02 Dec 2010, 16:53
Znuny Version: 6.0.29
Real Name: Marc
Company: National Jewish Health
Location: Denver, CO

Re: How to change length of custom fields in views?

Post by kruegerM »

if you are viewing the ticket - AgentTicketZoom.tt
if creating, will depend on whether phone or email
Thomymaster
Znuny newbie
Posts: 76
Joined: 26 Sep 2016, 10:50
Znuny Version: 5.0.12
Company: MPImF Heidelberg

Re: How to change length of custom fields in views?

Post by Thomymaster »

Hi

No, i want to modify the ticket overview (small medium and large views), the "table view"
OTRS 5.0.12 on Ubuntu 14.04 LTS
OTRS 5.0.27 on Ubuntu 16.04 LTS
kruegerM
Znuny expert
Posts: 213
Joined: 02 Dec 2010, 16:53
Znuny Version: 6.0.29
Real Name: Marc
Company: National Jewish Health
Location: Denver, CO

Re: How to change length of custom fields in views?

Post by kruegerM »

sorry- guess coffee hasn't kicked in yet.

As in Queue View?

AgentTicketOverviewMedium / AgentTicketOverviewSmall I believe control those displays. 'small' controls the 'medium' button and 'medium' controls the 'small' and 'large' buttons ... if memory serves.

M
Thomymaster
Znuny newbie
Posts: 76
Joined: 26 Sep 2016, 10:50
Znuny Version: 5.0.12
Company: MPImF Heidelberg

Re: How to change length of custom fields in views?

Post by Thomymaster »

Hi

No

Ticket -> Status view
OTRS 5.0.12 on Ubuntu 14.04 LTS
OTRS 5.0.27 on Ubuntu 16.04 LTS
kruegerM
Znuny expert
Posts: 213
Joined: 02 Dec 2010, 16:53
Znuny Version: 6.0.29
Real Name: Marc
Company: National Jewish Health
Location: Denver, CO

Re: How to change length of custom fields in views?

Post by kruegerM »

should be same controls as Queue View.
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: How to change length of custom fields in views?

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