<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
  <title>aC forum: Customise Ticket display</title>
  <link>http://www.activecollab.com/forums/topic/3088/</link>
  <description>Recent posts on topic: Customise Ticket display</description>
  <dc:language>en-us</dc:language>
  <pubDate>Sun, 23 Nov 2008 11:43:48 UTC</pubDate>
  
  <item>
    <link>http://www.activecollab.com/forums/post/14718/#post14718</link>
    <guid>http://www.activecollab.com/forums/post/14718/#post14718</guid>
    <title>Post #11 by Jary</title>
    <dc:creator>Jary</dc:creator>
    <description><![CDATA[<p>I've made alts to this as well to include date due, days to go and assignee. Also altered the sort order to be by date due. Normally I wouldn't make changes like this to 3rd party software because of having to keep track of the changes on upgrades as mentioned earlier. But I really needed to be able to order by date for tickets we are working on.<br />
 <br />
Using V1.1.3 Made alterations to:<br />
<br />
<br />
activecollab/application/modules/tickets/models/tickets/Tickets.class.php<br />
<br />
: Changed order by  to be due_on DESC instead of priority in each of the uses:<br />
<br />
'order' =&gt; 'due_on ASC',<br />
<br />
or to order by priority and then date<br />
<br />
'order' =&gt; 'priority DESC, due_on ASC',<br />
<br />
activecollab/application/modules/tickets/views/tickets/index.tpl<br />
Included dates and responsible in output<br />
<br />
<br />
&lt;td class=&quot;name&quot;&gt;<br />
&lt;a href=&quot;{$ticket-&gt;getViewUrl()}&quot;&gt;{$ticket-&gt;getName()|clean}&lt;/a&gt;<br />
&lt;span class=&quot;details block&quot;&gt;{object_assignees object=$ticket}&lt;/span&gt;<br />
&lt;/td&gt;<br />
&lt;td class=&quot;name&quot;&gt;<br />
{$ticket-&gt;getDueOn()|date:0} 	<br />
&lt;span class=&quot;details block&quot;&gt;{if $ticket-&gt;getDueOn()}{due object=$ticket}.{/if}&lt;/span&gt;<br />
&lt;/td&gt;<br />
                <br />
<br />
<br />
public/assets/tickets/stylesheets/main.css<br />
Altered the task name - td.name font colour to be same as in assigment<br />
<br />
<br />
<br />
<br />
<br />
</p>]]></description>
    <pubDate>Fri, 12 Sep 2008 01:57:03 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14685/#post14685</link>
    <guid>http://www.activecollab.com/forums/post/14685/#post14685</guid>
    <title>Post #10 by Leon</title>
    <dc:creator>Leon</dc:creator>
    <description><![CDATA[<p>Thanks for the screen shot ncrossland! I was just about to ask and then saw your post. Looks like a cool simple mod to get that little bit extra out of this page. I'll be updating my aC with this soon.</p>]]></description>
    <pubDate>Wed, 10 Sep 2008 09:05:32 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14684/#post14684</link>
    <guid>http://www.activecollab.com/forums/post/14684/#post14684</guid>
    <title>Post #9 by ncrossland</title>
    <dc:creator>ncrossland</dc:creator>
    <description><![CDATA[<p>Attached is a screenshot of how it looks, in case anyone else is interested. <br />
<br />
I've also added an edit button beside each ticket, since I nearly always want to edit a ticket, rather than just view it.</p>]]></description>
    <pubDate>Wed, 10 Sep 2008 08:57:04 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14681/#post14681</link>
    <guid>http://www.activecollab.com/forums/post/14681/#post14681</guid>
    <title>Post #8 by forestcall</title>
    <dc:creator>forestcall</dc:creator>
    <description><![CDATA[<p>THanks!!! I just implemented this and it is soooo helpful!!</p>]]></description>
    <pubDate>Wed, 10 Sep 2008 07:24:07 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14314/#post14314</link>
    <guid>http://www.activecollab.com/forums/post/14314/#post14314</guid>
    <title>Post #7 by ncrossland</title>
    <dc:creator>ncrossland</dc:creator>
    <description><![CDATA[<p><div class="postQuote"><blockquote><div class="quoteAuthor">Ilija Studen:</div>No, there is not at the moment. These type of hacks needs to be maintained manually.</blockquote></div><br />
<br />
That's fine, as long as I know! Thanks for your help.<br />
</p>]]></description>
    <pubDate>Thu, 07 Aug 2008 15:45:53 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14313/#post14313</link>
    <guid>http://www.activecollab.com/forums/post/14313/#post14313</guid>
    <title>Post #6 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p><div class="postQuote"><blockquote><div class="quoteAuthor">ncrossland:</div>Is there any templating mechanism for avoiding overwriting these changes with future upgrades?</blockquote></div><br />
<br />
No, there is not at the moment. These type of hacks needs to be maintained manually.</p>]]></description>
    <pubDate>Thu, 07 Aug 2008 15:18:42 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14312/#post14312</link>
    <guid>http://www.activecollab.com/forums/post/14312/#post14312</guid>
    <title>Post #5 by ncrossland</title>
    <dc:creator>ncrossland</dc:creator>
    <description><![CDATA[<p>Thanks, that's brilliant.<br />
<br />
I added some code so it lists the assignees, and if we are not viewing a specific category (when they would all be the same), it shows the category of each ticket. If anyone else is interested, here's what I added:<br />
<br />
After:<br />
<br />
<pre name="code" class="html">&lt;td class=&quot;name&quot;&gt;&lt;a href=&quot;{$ticket-&gt;getViewUrl()}&quot;&gt;{$ticket-&gt;getName()|clean}&lt;/a&gt; &lt;/td&gt;</pre><br />
<br />
Add:<br />
<br />
<pre name="code" class="html">  &lt;td class=&quot;name&quot;&gt;{if $ticket-&gt;hasAssignees()}&lt;span style=&quot;background-color: #F4E4C5; padding:0 3px;&quot;&gt; {object_assignees object=$ticket} {/if}&lt;/span&gt;
        
        {if !$active_category-&gt;isLoaded()}
            &lt;td class=&quot;name&quot;&gt;
                {if $ticket-&gt;getParentId()}  
                    &lt;span style=&quot;background-color: #eee; padding:0 3px; white-space:nowrap; &quot;&gt; {category_link object=$ticket}&lt;/span&gt;  
                {/if}  
            &lt;/td&gt;
        {/if}</pre><br />
<br />
Is there any templating mechanism for avoiding overwriting these changes with future upgrades?</p>]]></description>
    <pubDate>Thu, 07 Aug 2008 15:12:55 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14310/#post14310</link>
    <guid>http://www.activecollab.com/forums/post/14310/#post14310</guid>
    <title>Post #4 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>To display category link use something like this:<br />
<br />
<pre name="code" class="html">{if $ticket-&gt;getParentId()}
  {category_link object=$ticket}
{/if}</pre></p>]]></description>
    <pubDate>Thu, 07 Aug 2008 14:35:58 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14309/#post14309</link>
    <guid>http://www.activecollab.com/forums/post/14309/#post14309</guid>
    <title>Post #3 by ncrossland</title>
    <dc:creator>ncrossland</dc:creator>
    <description><![CDATA[<p>Thanks for the quick response. I've managed to get the assignees to show up:<br />
<br />
&lt;td class=&quot;name&quot;&gt;{if $ticket-&gt;hasAssignees()}&lt;span style=&quot;background-color: #F4E4C5; padding:0 3px;&quot;&gt; {object_assignees object=$ticket} {/if}&lt;/span&gt;<br />
<br />
But I can't get the category -- the category is not displayed on the View page, so nothing to copy. Any ideas?<br />
<br />
Thanks</p>]]></description>
    <pubDate>Thu, 07 Aug 2008 14:06:41 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14306/#post14306</link>
    <guid>http://www.activecollab.com/forums/post/14306/#post14306</guid>
    <title>Post #2 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>Template used for generation of tickets list is activecollab/application/modules/tickets/views/tickets/index.tpl so you might want to check it out. Also, check view.tpl in the same folder to see how information like assignees is displayed.</p>]]></description>
    <pubDate>Thu, 07 Aug 2008 13:33:31 UTC</pubDate>
  </item>
</channel>
</rss>