Here’s a quick and easy feature I’d love to see in RT - a custom field type of
"URL" that displays as a clickable link. I can see it being useful in all
sorts of areas.
Anyone else think this might be useful?
At Friday 2/18/2005 10:13 AM, Michael ‘Moose’ Dinn wrote:
Here’s a quick and easy feature I’d love to see in RT - a custom field type of
“URL” that displays as a clickable link. I can see it being useful in all
sorts of areas.
Anyone else think this might be useful?
This would be nice - you can kind of get this functionality by adding a
ticket link, but this doesn’t tell you what the link is for or where it
goes (apart from displaying the URL). A URL CF would have a nice name and
could optionally have a “description” which could be the text that displays
for the link. I’d vote to put this on the wishlist.
Steve
You could modify html/Elements/ShowCustomFields like so:
% my @entry_fields;
% while (my $CustomField = $CustomFields->Next()) {
% my $Values = $Object->CustomFieldValues($CustomField->Id);
<%$CustomField->Name%>: |
% while (my $Value = $Values->Next()) {
-
% if ($CustomField->Type eq 'Image') {
<& ShowCustomFieldImage, Object => $Value &>
% } else {
% if ($Value->Content =~ /^http:/) {
<%$Value->Content%>
% } else {
<%$Value->Content%>
% }
% }
% }
% unless ($Values->Count()) {
- <&|/l&>(no value)
% }
|
% }
On Fri, Feb 18, 2005 at 10:50:44AM -0500, Stephen Turner wrote:
> At Friday 2/18/2005 10:13 AM, Michael 'Moose' Dinn wrote:
>
> >Here's a quick and easy feature I'd love to see in RT - a custom field
> >type of
> >"URL" that displays as a clickable link. I can see it being useful in all
> >sorts of areas.
> >
> >Anyone else think this might be useful?
>
> This would be nice - you can kind of get this functionality by adding a
> ticket link, but this doesn't tell you what the link is for or where it
> goes (apart from displaying the URL). A URL CF would have a nice name and
> could optionally have a "description" which could be the text that displays
> for the link. I'd vote to put this on the wishlist.
>
> Steve
>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> RT Administrator and Developer training is coming to your town soon!
> (Boston, San Francisco, Austin, Sydney) Contact training@bestpractical.com
> for details.
>
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com