Long lines on email submission

I am using a web-based form for users to input tickets into RT. Basically,
they input a subject and details of their problem, and the webpage emails
into the RT system according to whatever queue the problem should be in.
However, whenever a user submits a ticket, no line breaks are inserted into
the message they write, requiring the watchers to scroll to the right to see
what the user wrote. Does anyone know of an easy fix for this?

O- ~ARK

“ARK” == Ayan R Kayal ayan.kayal@yale.edu writes:

ARK> the message they write, requiring the watchers to scroll to the
ARK> right to see what the user wrote. Does anyone know of an easy fix
ARK> for this?

Fix your web form to have a wrapped text box, usually something like
this:

Unfortunately, Opera5 seems not to want to do the hard-returns in the
line wrap, but every other browser I try does.

Hi Ayan!

I have not had the time to look how RT handles newlines but I would like you
to the “WRAP” attribute of the “TEXTAREA” element in HTML.

Read about it and I hope it will solve your problem. I would tell you but
about it, but as I do not know all about it by heart, I am sure it would be
more effective you look it up yourself. If not feel free to contact me and I
will try to help you.

Regards,

Benne

I am using a web-based form for users to input tickets into RT. Basically,
they input a subject and details of their problem, and the webpage emails
into the RT system according to whatever queue the problem should be in.
However, whenever a user submits a ticket, no line breaks are inserted into
the message they write, requiring the watchers to scroll to the right to see
what the user wrote. Does anyone know of an easy fix for this?

O- ~ARK


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Benjamin Boksa
b.boksa@sidebysite.de

side by site GmbH & Co. KG
Druckgestaltung & Webdesign

Barbarastr. 3-9 (Block 6)
D-50735 Koeln

Telefon: +49 221 2790964
Telefax: +49 221 2790965

http://www.sidebysite.de/

Yeah. It involves Text::Wrapper. This change to Elements/ShowTransaction
will be in 2.0.7:

29,30c33,37
< % if ($message->ContentType =~ m{^(text/plain|message|text$)}i && length($message->Content)<13456) {
<

<% $message->Content %>

% if ($message->ContentType =~ m{^(text/plain|message|text$)}i &&
% length($message->Content)<13456) {
% use Text::Wrapper;
% my $wrapper = new Text::Wrapper (columns=>85);
<% $wrapper->wrap( $message->Content) %>
31a39,42
% else {
 
% }

I am using a web-based form for users to input tickets into RT. Basically,
they input a subject and details of their problem, and the webpage emails
into the RT system according to whatever queue the problem should be in.
However, whenever a user submits a ticket, no line breaks are inserted into
the message they write, requiring the watchers to scroll to the right to see
what the user wrote. Does anyone know of an easy fix for this?

O- ~ARK


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

In the tag in your HTML, add WRAP=“HARD”. I had a similar
problem on another HTML project I was working on.
-C

At 03:08 PM 2001/09/06 -0400, Ayan R. Kayal wrote:

I am using a web-based form for users to input tickets into RT. Basically,
they input a subject and details of their problem, and the webpage emails
into the RT system according to whatever queue the problem should be in.
However, whenever a user submits a ticket, no line breaks are inserted into
the message they write, requiring the watchers to scroll to the right to see
what the user wrote. Does anyone know of an easy fix for this?

O- ~ARK


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Curtis Ireland - cireland@solidum.com
Solidum Systems - http://www.solidum.com
(T) (613)724-6004 x284 - (F) (613)724-6008

I have a script and webpage setup for just this at my work. I’ll post it and
if you like it then I stick it over on the contribsFrom: Curtis Ireland [mailto:cireland@solidum.com]
Sent: Monday, September 10, 2001 8:08 AM
To: Ayan R. Kayal; rt-users@fsck.com
Subject: Re: [rt-users] long lines on email submission…

In the tag in your HTML, add WRAP=“HARD”. I had a similar
problem on another HTML project I was working on.
-C

At 03:08 PM 2001/09/06 -0400, Ayan R. Kayal wrote:

I am using a web-based form for users to input tickets into RT. Basically,
they input a subject and details of their problem, and the webpage emails
into the RT system according to whatever queue the problem should be in.
However, whenever a user submits a ticket, no line breaks are inserted into
the message they write, requiring the watchers to scroll to the right to
see
what the user wrote. Does anyone know of an easy fix for this?

O- ~ARK


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Curtis Ireland - cireland@solidum.com
Solidum Systems - http://www.solidum.com
(T) (613)724-6004 x284 - (F) (613)724-6008

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

rt-userwebform.zip (23.7 KB)

Dumb question on this one:

If I do something like this, and then upgrade, say from 2.0.7 to 2.0.8,
are my changes lost?

Any way to avoid that loss??

-SheeriOn Thu, 6 Sep 2001, Vivek Khera wrote:

“ARK” == Ayan R Kayal ayan.kayal@yale.edu writes:

ARK> the message they write, requiring the watchers to scroll to the
ARK> right to see what the user wrote. Does anyone know of an easy fix
ARK> for this?

Fix your web form to have a wrapped text box, usually something like
this:

Unfortunately, Opera5 seems not to want to do the hard-returns in the
line wrap, but every other browser I try does.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Sheeri Kritzer
Systems Administrator
University Systems Group
Tufts University
617-627-3925
skritz01@emerald.tufts.edu

If you take a copy of the html template and dump it in

/path/to/rt/local/WebRT/html/path/to/htmlfile/File.html,

it will override the RT default component without impeding your ability to update. Of course, if the component changes between releases, you’ll want to remerge
your changes.

-jOn Fri, Oct 26, 2001 at 05:01:11PM -0400, Sheeri Kritzer wrote:

Dumb question on this one:

If I do something like this, and then upgrade, say from 2.0.7 to 2.0.8,
are my changes lost?

Any way to avoid that loss??

-Sheeri

On Thu, 6 Sep 2001, Vivek Khera wrote:

“ARK” == Ayan R Kayal ayan.kayal@yale.edu writes:

ARK> the message they write, requiring the watchers to scroll to the
ARK> right to see what the user wrote. Does anyone know of an easy fix
ARK> for this?

Fix your web form to have a wrapped text box, usually something like
this:

Unfortunately, Opera5 seems not to want to do the hard-returns in the
line wrap, but every other browser I try does.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Sheeri Kritzer
Systems Administrator
University Systems Group
Tufts University
617-627-3925
skritz01@emerald.tufts.edu


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

Yeah. I’ve been using a local copy of CVS to solve such problems. If you
look in the CVS docs for “Third Party Sources” (i.e. Jesse), it tells you
how to do it. I wished I had used it when upgrading before. It works like a
charm. :slight_smile:

O- ~ARK