FW: Updating Tickets - MessageBox Size & Double Lines

Hi,

I would like to change the size of the message box that is shown when
you update a ticket. It’s currently around 10 lines high. In the
RT_SiteConfig.pm file I changed the MessageBoxHeight variable to 30 but
this doesn’t seem to have made a difference - either it’s the wrong
thing to change or it just isn’t working for me.

Also in the message box when I hit enter the cursor moves two lines
rather than just one. I changed the MessageBoxWrap value from HARD to
SOFT thinking this would resolve it, however it didn’t.

In both cases above I did restart apache after updating the
RT_SiteConfig,pm file

I’m using RT 3.8.1 with RTFM installed (not sure of version but it was
only installed yesterday so will be the latest).

Kind regards,

Paul Broadwith (MBCS)

Blue Ivy Ltd - Microsoft Small Business Specialist, UK Partner Qualified
for 2008

Tel.: 01955 698203

Windows Messenger: paul.broadwith@blueivy.co.uk
mailto:paul.broadwith@blueivy.co.uk

Web: http://www.blueivy.co.uk http://www.blueivy.co.uk

Blue Ivy Limited is a limited company registered in Scotland.
Registered company number: SC 221649.
Registered VAT number: GB 774 8460 88.
Registered Office: 67 Kelburn Street, Barrhead, Glasgow, G78 1LD

This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of ?Blue Ivy Ltd?.

If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone.

Please contact the sender if you believe you have received this email in error.

{Blue Ivy Ltd - ICT For Small Businesses}

Paul Broadwith wrote:

I would like to change the size of the message box that is shown when
you update a ticket. It�s currently around 10 lines high. In the
RT_SiteConfig.pm file I changed the MessageBoxHeight variable to 30 but
this doesn�t seem to have made a difference � either it�s the wrong
thing to change or it just isn�t working for me.
I think what you’re seeing is a ‘feature’ of the rich text editing mode
of RT.
I saw the same and plan to disable it globally and then let anyone who
want to send HTML enriched correspondence do that via user prefs.
Fixing this will mean fixing FCKeditor. Complete documentation can be
found at http://www.fckeditor.net
Found the fckconfig.js file in /NoAuth/RichText/FCKeditor which contains
the settings used.

Also in the message box when I hit enter the cursor moves two lines
rather than just one. I changed the MessageBoxWrap value from HARD to
SOFT thinking this would resolve it, however it didn�t.
HARD/SOFT wrapping is for the traditional TextArea not for the RichText one.

Greetings,

Joop

**Joop van de Wege wrote:

Paul Broadwith wrote:

/ I would like to change the size of the message box that is shown when
/>>/ you update a ticket. It�s currently around 10 lines high. In the
/>>/ RT_SiteConfig.pm file I changed the MessageBoxHeight variable to 30
but
/>>/ this doesn�t seem to have made a difference � either it�s the wrong
/>>/ thing to change or it just isn�t working for me.
/>I think what you’re seeing is a ‘feature’ of the rich text editing mode
of RT.
I saw the same and plan to disable it globally and then let anyone who
want to send HTML enriched correspondence do that via user prefs.
Fixing this will mean fixing FCKeditor. Complete documentation can be
found at http://www.fckeditor.net
Found the fckconfig.js file in /NoAuth/RichText/FCKeditor which contains
the settings used.

It’s only partially the fckeditor’s fault. While the fckeditor does
replace the textarea with it’s own size, the size can be specified by
RT. Since RT doesn’t specify a size, it uses the default one.

I’ve manually patched my /opt/rt3/share/html/Elements/HeaderJavascript
to have a more reasonable size. If anyone else is interested:

— HeaderJavascript.orig 2008-08-29 16:08:39.000000000 -0700
+++ HeaderJavascript 2008-08-29 16:47:01.000000000 -0700
@@ -104,7 +104,7 @@
typeField.setAttribute(‘value’, ‘text/html’);
textArea.parentNode.appendChild(typeField);

  • var oFCKeditor = new FCKeditor( textArea.name ) ;
  • var oFCKeditor = new FCKeditor( textArea.name, ‘100%’, ‘400’ ) ;
    oFCKeditor.BasePath = “<%RT->Config->Get(‘WebPath’)%>/NoAuth/RichText/”;
    oFCKeditor.ReplaceTextarea();
    }