<div dir="ltr">Drew,<br><br>This thread may provide the inspiration you need. <a href="http://lists.bestpractical.com/pipermail/rt-users/2008-February/050042.html">http://lists.bestpractical.com/pipermail/rt-users/2008-February/050042.html</a><br>
<br>-Todd<br><br><div class="gmail_quote">On Wed, Oct 15, 2008 at 9:05 PM, Drew Taylor <span dir="ltr">&lt;<a href="mailto:taylor.andrew.j@gmail.com">taylor.andrew.j@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
<br>
I was originally wanting to add new CustomField types to enable things<br>
like showing a flag for &quot;Country&quot; in addition to the text. But I just<br>
realized I think I can do w/o a new type by using the<br>
ShowComponentName Callback in Elements/ShowCustomFields. Has anyone<br>
tried to do this? I can see the callback provides a Name (reference to<br>
a string), the CustomField object and an Object (which I think will be<br>
a Ticket object). I imagine I need to massage what<br>
$Object-&gt;CustomFieldValues($CF_id) returns, but I&#39;m not exactly sure<br>
how to go about it. Alternately, I could create a new<br>
Elements/ShowCustomField$type component and massage the Name to be the<br>
new component.<br>
<br>
Has anyone done this sort of thing and/or can provide an example?<br>
<br>
Thanks,<br>
Drew<br>
<font color="#888888">--<br>
----------------------------------------------------------------<br>
&nbsp;Drew Taylor &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; * &nbsp;Web development &amp; consulting<br>
&nbsp;Email: <a href="mailto:drew@drewtaylor.com">drew@drewtaylor.com</a> &nbsp;* &nbsp;Site implementation &amp; hosting<br>
&nbsp;Web &nbsp;: <a href="http://www.drewtaylor.com" target="_blank">www.drewtaylor.com</a> &nbsp; * &nbsp;perl/mod_perl/DBI/mysql/postgres<br>
&nbsp;----------------------------------------------------------------<br>
_______________________________________________<br>
List info: <a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel" target="_blank">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel</a><br>
</font></blockquote></div><br></div>