<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<tt>Hi Raphael<br>
<br>
keep to the list.<br>
In particular because I don't have the answer to this further
question.<br>
<br>
I have never tried anything like what you are trying.<br>
It is possible that for this you might have to use a ColumnMap<br>
<br>
However concerning <font size="2">"display the Ticket
subject next to his number</font>"<br>
I believe that '__id__ __Subject__ ' should work.<br>
<br>
Gerard<br>
<br>
<br>
On 2011-08-09 11:28, Raphaël MOUNEYRES wrote:</tt>
<blockquote
cite="mid:15308_1312882140_4E40FDDB_15308_209_1_OF8722AE1E.88C26C92-ONC12578E7.0033BAB9-C12578E7.00341641@sagemcom.com"
type="cite">
<tt><br>
<font size="2">Hi Gerard,</font></tt>
<tt><br>
<br>
<font size="2">i've tried some but i'm not sure to
be able to do conditional formatting such as :</font></tt>
<tt><br>
<font size="2"> % my $inactive =
$member->QueueObj->IsInactiveStatus($member->Status);</font></tt>
<tt><br>
<font size="2"> <span class="<%
$inactive ? 'ticket-inactive' : '' %>"></font></tt>
<tt><br>
<font size="2"> <%$member->Id%>:
(<%$member->OwnerObj->Name%>)
<%$member->Subject%>
[<% loc($member->Status) %>]</font></tt>
<tt><br>
<font size="2"> </span></font></tt>
<tt><br>
<br>
<font size="2">for example, if i do </font></tt>
<tt><br>
<font size="2">' <b><a
href="__WebPath__/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#',</font></tt><tt><br>
<font size="2">'<span
class="ticket-inactive">__Children__</span>'</font></tt>
<tt><br>
<font size="2">for sure all children tickets are displayed
as ticket-inactive, but not depending on their actual
status...</font></tt>
<tt><br>
<br>
<font size="2">Also i'd like to display the Ticket
subject next to his number....</font></tt>
<tt><br>
<font size="2">Well i'm doing more experiments now,
but any other hints are welcome.</font></tt>
<tt><br>
<font size="2"><br>
Raphaël MOUNEYRES<br>
</font><br>
<br>
<br>
</tt>
<table width="100%">
<tbody>
<tr valign="top">
<td width="40%"><tt><font size="1"><b>Gerard FENELON
<a class="moz-txt-link-rfc2396E" href="mailto:gerard@eve-team.com"><gerard@eve-team.com></a></b>
</font></tt>
<tt><br>
<font size="1">Envoyé par :
<a class="moz-txt-link-abbreviated" href="mailto:rt-users-bounces@lists.bestpractical.com">rt-users-bounces@lists.bestpractical.com</a></font></tt>
<p><tt><font size="1">09/08/2011 11:08</font></tt>
</p>
</td>
<td width="59%">
<table width="100%">
<tbody>
<tr valign="top">
<td>
<div align="right"><tt><font size="1">A</font></tt></div>
</td>
<td><tt><font size="1"><a class="moz-txt-link-abbreviated" href="mailto:rt-users@lists.bestpractical.com">rt-users@lists.bestpractical.com</a></font></tt>
</td>
</tr>
<tr valign="top">
<td>
<div align="right"><tt><font size="1">cc</font></tt></div>
</td>
<td>
<tt><br>
</tt></td>
</tr>
<tr valign="top">
<td>
<div align="right"><tt><font size="1">Objet</font></tt></div>
</td>
<td><tt><font size="1">Re: [rt-users] adding Ticket
links in
search result</font></tt></td>
</tr>
</tbody>
</table>
<tt><br>
</tt></td>
</tr>
</tbody>
</table>
<tt><br>
<br>
<br>
<font size="3">Hello<br>
<br>
you can do a lot of things in the advanced tab of the search
interface<br>
such as<br>
<br>
'<b><a
href="/Ticket/Modify.html?id=__id__">__id__</a></b>/TITLE:#',<br>
'<span
class="yoyodine-status-__StatusNoLoc__">__ExtendedStatus__</span>',<br>
'<span
class="yoyodine-severity-__CustomField.{Severity}__">__CustomField.{Severity}__</span>',<br>
'<span class="yoyodine-priority-__CustomField.{Customer
priority}__">__CustomField.{Customer
priority}__</span>',<br>
<br>
I would say, use this when you want to tweek the display.<br>
Use ColumnMap when you have to calculate values<br>
<br>
Gerard<br>
<br>
<br>
On 2011-08-09 10:48, Raphaël MOUNEYRES wrote: </font></tt>
<tt><br>
<font size="2">Hello,</font><font size="3"> <br>
</font><font size="2"><br>
i'm trying to build a search wich would have a colum
displaying the tickets
links exactly the same way as is TicketDisplay page (with 3.8
install)</font><font size="3">
</font><font size="2"><br>
I found two things :</font><font size="3"> </font><font
size="2"><br>
- this code related to the above page is in
/opt/rt3/share/html/Elements/ShowLinks</font><font size="3">
</font><font size="2"><br>
- in ticket search engine, i can display children/DependsOn
links, but
the result will only show ticket ids without formatting.</font><font
size="3">
<br>
</font><font size="2"><br>
Should i create a new ColumnMap (as recently discussed)
pasting some code
from the ShowLinks File, or any simpler way to modify the
existing colums
?</font><font size="3"> </font><font size="2"><br>
Could someone help me choose the best way to go ?</font><font
size="3"> <br>
</font><font size="2"><br>
After a few month dealing with RT, i've been gaining some perl
programming
experience, thanks guys !</font><font size="3"> </font><font
size="2"><br>
<br>
Raphaël MOUNEYRES</font></tt>
<tt><br>
</tt></blockquote>
<tt><br>
</tt>
</body>
</html>