[rt-users] Modify Create Ticket display
Benjamin Weser
weser at osp-dd.de
Tue Jun 24 03:35:40 EDT 2008
Hi Kenn,
I don't have the ultimate solution but I changed the behavior in that
way, that there will be one column of custom fields only instead of two.
This makes the look of RT much better. You just need to edit
/opt/rt3/share/html/Ticket/Elements/EditCustomFields (copy it into local
of course) and get rid of the code which divided the number of CFs into
two columns.
This is how my code now looks like above the <%INIT> section:
<table>
% while (my $CustomField = $CustomFields->Next()) {
<tr id="CF-<%$CustomField->id%>-EditRow">
<td valign="top" class="labeltop">
<b><%$CustomField->Name%></b><br />
<!--<i><%$CustomField->FriendlyType%></i>-->
% if (my $msg = $m->notes('InvalidField-' . $CustomField->Id)) {
<em style="color: red"><% $msg %></em>
% }
</td>
<td class="entry"><& /Elements/EditCustomField,
Object => $TicketObj,
CustomField => $CustomField,
NamePrefix => $NamePrefix ,
Default => $m->notes('Field-' . $CustomField->Id),
&>
</td>
</tr>
% }
</table>
Try this, it will make the sites more readable. Now it also makes more
sense to sort the CFs. Would be nice to add more widgets or get at least
a possibility to group a couple of CFs to reasonable categories but
unfortunately I don't have any time to hack this into RT.
Ben
Kenneth Crocker schrieb:
> To all,
>
>
> When my users go into the "new Ticket" screen to create a ticket, the
> custom fields that are available are scattered all over the place. I'd
> like to arrange them, somehow. I've gone to
> Configuration->Queues->Ticket Custom Fields and re-arranged the order of
> how they are to be displayed, but that just moves them up and down and
> THAT doesn't always work. How can I keep RT from squeezing them into the
> screen on the left or right of another field as well as get them in the
> right top-down order? Thanks in advance.
>
>
> Kenn
> LBNL
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
More information about the rt-users
mailing list