[rt-users] Custom Fields

Kenneth Crocker kfcrocker at lbl.gov
Thu Aug 5 13:34:34 EDT 2010


David,

We use the following code modification:

Create a /opt/rt3/local/ copy of "/opt/rt3/share/html/Elements/*
EditCustomField
*
Then add the following code after line # 93:

if ($Type eq "Text") {

        $Rows = 8;

        $Cols = 50;

} elsif ($Type eq "Wikitext") {

        $Rows = 8;

        $Cols = 50;

} elsif ($Type eq "Select" and $MaxValues == 1) {

        $Rows = 1;

        $Cols = 30;

}


The last part of the code turns your list of values into a *"drop-down"*list.


Hope this helps.


Kenn

LBNL


On Thu, Aug 5, 2010 at 9:44 AM, Sysadmin <Sysadmin at ruralnetwork.net> wrote:

> Is it possible to change the size of the wikitext box?
> Ideally I would like to display a large rectangular box under the issue
> description text area
>
> David
> System Administrator
> RNS
>
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100805/9a0ed2e9/attachment.htm>


More information about the rt-users mailing list