(SOLVED) Resize default new ticket text field?

Moderator: crythias

Post Reply
morecw
Znuny expert
Posts: 215
Joined: 18 Jun 2012, 09:24
Znuny Version: 3.1.6
Real Name: Craig Wellman
Company: STÜBER SYSTEMS

(SOLVED) Resize default new ticket text field?

Post by morecw »

Hello OTRS experts and fans like me,

is it possible to increase the size of the Text field permanently either per user or system wide?

I have checked all of Sysconfig but I'm sorry I can't find any setting for it!

Best regards.
Last edited by morecw on 04 Jul 2012, 22:50, edited 1 time in total.
OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Resize default new ticket text field?

Post by crythias »

RichTextEditor.dtl references

Code: Select all

    Core.Config.Set('RichText.Width', '$Config{"Frontend::RichTextWidth"}');
    Core.Config.Set('RichText.Height', '$Config{"Frontend::RichTextHeight"}');
    Core.Config.Set('RichText.TextDir', '$Env{"TextDirection"}');
    Core.Config.Set('RichText.SpellChecker', '$Env{"BrowserSpellCheckerInline"}');
It's in Core::Web
Frontend::RichTextWidth
Default value: 620
Defines the width for the rich text editor component. Enter number (pixels) or percent value (relative).

Frontend::RichTextHeight
Default value: 320
Defines the =hHeight for the rich text editor component. Enter number (pixels) or percent value (relative).
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
morecw
Znuny expert
Posts: 215
Joined: 18 Jun 2012, 09:24
Znuny Version: 3.1.6
Real Name: Craig Wellman
Company: STÜBER SYSTEMS

Re: Resize default new ticket text field?

Post by morecw »

Perfect! That's now my 4th post today you've solved, thank you so much for all the quick responses!
OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
danchitu86
Znuny newbie
Posts: 37
Joined: 31 Jan 2011, 11:25
Znuny Version: 3.2.3
Real Name: Dan
Company: ANB
Location: Bucharest, RO

Re: Resize default new ticket text field?

Post by danchitu86 »

crythias wrote:RichTextEditor.dtl references
It's in Core::Web
Frontend::RichTextWidth
Default value: 620
Defines the width for the rich text editor component. Enter number (pixels) or percent value (relative).

Frontend::RichTextHeight
Default value: 320
Defines the =hHeight for the rich text editor component. Enter number (pixels) or percent value (relative).
I have modified this values but no changes in textbox size.
My problem is that the width of RichtextEditor is to small and if I try to enlarge the area from the gray triangle in the lower right I can adjust only the heigh, not the width. The main problem is that if I have a longer sentence not all of the words appear in that box.

OTRS: 3.2.3

Thnaks a lot!

Later edit: The setting works ok for reply, but not for forward. Is it posible to resolve this issue?
danchitu86
Znuny newbie
Posts: 37
Joined: 31 Jan 2011, 11:25
Znuny Version: 3.2.3
Real Name: Dan
Company: ANB
Location: Bucharest, RO

Re: (SOLVED) Resize default new ticket text field?

Post by danchitu86 »

Please, Can you provide me an answer?

Thanks a lot!
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: (SOLVED) Resize default new ticket text field?

Post by reneeb »

There are settings in SysConfig, called "Ticket::Frontend::AgentTicketForward###RichTextWidth" and "Ticket::Frontend::AgentTicketForward###RichTextHeight". Please check them.
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
danchitu86
Znuny newbie
Posts: 37
Joined: 31 Jan 2011, 11:25
Znuny Version: 3.2.3
Real Name: Dan
Company: ANB
Location: Bucharest, RO

Re: (SOLVED) Resize default new ticket text field?

Post by danchitu86 »

Great, works ok now! Thank you!
Mbel
Znuny newbie
Posts: 5
Joined: 16 Jun 2020, 07:49
Znuny Version: 6.0
Real Name: Markus Bellenberg

Re: (SOLVED) Resize default new ticket text field?

Post by Mbel »

even if this is an old topic I would like to add the following

search for several "RichTextWidth" in the SysConfig
and set them to "98%" instead of a fixed value

this will resize the RichTextWidth according to the window width
(the same behavior as mostly all text-fields show)

Best regards
Markus
Post Reply