Customize size of HTML dialog boxes

Is there a special way to modify the size of dialog boxes on RT ?

Or do I just go and modify the HTML directly ?

For example, I want to increase the size for the ‘Describe the issue below:’ window
on the ‘Ticket/Create.html’ page.

Current settings for the page are as follows:

#source code of HTML I want to enlarge

Describe the issue below:

#end of source code

Ted Knab
Chester, MD 21619
35570707f6274702478656021626f6c6964796f6e602f66602478656
02e6164796f6e60237471647560216e6460276c6f62616c60257e696
4797e2a0

Is there a special way to modify the size of dialog boxes on RT ?

Or do I just go and modify the HTML directly ?

Modify the HTML directly. I would also suggest creating a copy of the
original beforehand, just as a precaution (e.g. “cp Create.html
Create.last.working.html”)

John

Is there a special way to modify the size of dialog boxes on RT ?

Or do I just go and modify the HTML directly ?

Modify the HTML directly. I would also suggest creating a copy of the
original beforehand, just as a precaution (e.g. “cp Create.html
Create.last.working.html”)

Not exactly. You need to pass the appropriate argument to the
Elements/MessageBox component from the Ticket/Create.html
component. Even better than making a copy in the share directory is
using Mason’s local directory feature. Copy
/path/to/rt3/share/html/Ticket/Create.html to
/path/to/rt3/local/html/Ticket/Create.html and Mason will Do The Right
Thing and use your locally modified version. The local copy shouldn’t
get blown away during an upgrade.

Michael

Michael S. Liebman m-liebman@northwestern.edu
http://msl521.freeshell.org/
“I have vision and the rest of the world wears bifocals.”
-Paul Newman in “Butch Cassidy & the Sundance Kid”

John Schubert wrote:> On Tue, 2004-01-06 at 15:10, Theodore Knab wrote:

Is there a special way to modify the size of dialog boxes on RT ?

Or do I just go and modify the HTML directly ?

Modify the HTML directly. I would also suggest creating a copy of the
original beforehand, just as a precaution (e.g. “cp Create.html
Create.last.working.html”)

It is even easier than that. Under $PREFIX/rt/local/html make a
directory to mimic the standard one (in this case local/html/Ticket/)
and copy Create.html there. You can now make local changes that will
survive upgrades and you always have the original to fall back on.

When you upgrade RT all you have to do is diff the local/* against the
new files, merge in any changes, and move on.