<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=SideBySideTicketScreen</id>
	<title>SideBySideTicketScreen - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=SideBySideTicketScreen"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=SideBySideTicketScreen&amp;action=history"/>
	<updated>2026-08-22T14:11:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=SideBySideTicketScreen&amp;diff=3631&amp;oldid=prev</id>
		<title>Admin: 2 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=SideBySideTicketScreen&amp;diff=3631&amp;oldid=prev"/>
		<updated>2016-04-06T20:37:45Z</updated>

		<summary type="html">&lt;p&gt;2 revisions imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Side by Side Ticket Screen =&lt;br /&gt;
&lt;br /&gt;
Posted by Steve Turner, January 31, 2006.&lt;br /&gt;
&lt;br /&gt;
We had several requests to share our &amp;#039;Side by Side&amp;#039; ticket update screen (see http://web.mit.edu/tooltime/presentations/itp/rt.html -&amp;amp;gt; &amp;quot;Side by Side Ticket Display&amp;quot;) with the RT community. Unfortunately we&amp;#039;ve made so many other RT mods that are woven into our Side by Side screen that just posting the mason code for that screen wouldn&amp;#039;t make sense.&lt;br /&gt;
&lt;br /&gt;
So here&amp;#039;s an attempt to explain what we did - I hope that this will be an easy to follow guide to making a similar screen.&lt;br /&gt;
&lt;br /&gt;
The basic idea was to provide a ticket update screen that showed the ticket history, and to have ticket details and history &amp;quot;side-by-side&amp;quot; for easier viewing. We based this screen on the existing Jumbo screen. Here are the essential steps:&lt;br /&gt;
&lt;br /&gt;
1) Copied the Jumbo screen (Ticket/[[ModifyAll]].html). We called the new page [[ModifyAllHistory]].html.&lt;br /&gt;
&lt;br /&gt;
2) Removed the portions of the page we didn&amp;#039;t want. For example, we didn&amp;#039;t want the Links section on our Side by Side screen. So we simply removed this part of the page:&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;&amp;amp;amp; /Elements/TitleBoxStart, title =&amp;amp;gt; loc(&amp;#039;Links&amp;#039;), color =&amp;amp;gt; &amp;quot;#336633&amp;quot;&amp;amp;amp;&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;&amp;amp;amp; /Elements/EditLinks, Object =&amp;amp;gt; $Ticket, Merge =&amp;amp;gt; 1 &amp;amp;amp;&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;&amp;amp;amp; /Elements/TitleBoxEnd &amp;amp;amp;&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
3) Changed the layout of the page to be a two-column, single-row table, with the left column containing the desired elements from the Jumbo page and the right column holding the ticket history.&lt;br /&gt;
&lt;br /&gt;
Briefly, the new page layout looks like this (everything else outside the &amp;amp;lt;FORM&amp;amp;gt; element remains the same).&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;amp;lt;FORM METHOD=POST ACTION=&amp;quot;/Ticket/ModifyAllHistory.html&amp;quot; ENCTYPE=&amp;quot;multipart/form-data&amp;quot;&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;INPUT TYPE=HIDDEN NAME=id VALUE=&amp;quot;&amp;amp;lt;%$Ticket-&amp;amp;gt;Id%&amp;amp;gt;&amp;quot;&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 ----&amp;amp;gt; BEGIN MODS&lt;br /&gt;
 &lt;br /&gt;
  &amp;amp;lt;TABLE WIDTH=&amp;quot;100%&amp;quot;&amp;amp;gt;&lt;br /&gt;
  &amp;amp;lt;TR&amp;amp;gt;&lt;br /&gt;
  &amp;amp;lt;TD VALIGN=&amp;quot;top&amp;quot;&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 -----&amp;amp;gt;  All the ticket update elements from Jumbo that you want to keep&lt;br /&gt;
 &lt;br /&gt;
  &amp;amp;lt;/TD&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &amp;amp;lt;TD VALIGN=&amp;quot;TOP&amp;quot;&amp;amp;gt;&lt;br /&gt;
  &amp;amp;lt;&amp;amp;amp; /Ticket/Elements/ShowHistory ,&lt;br /&gt;
     Ticket =&amp;amp;gt; $Ticket,&lt;br /&gt;
     Collapsed =&amp;amp;gt; $ARGS{&amp;#039;Collapsed&amp;#039;},&lt;br /&gt;
     ShowHeaders =&amp;amp;gt; $ARGS{&amp;#039;ShowHeaders&amp;#039;},&lt;br /&gt;
     Attachments =&amp;amp;gt; $attachments,&lt;br /&gt;
     AttachmentContent =&amp;amp;gt; $attachment_content,&lt;br /&gt;
     &amp;amp;amp;&amp;amp;gt;&lt;br /&gt;
  &amp;amp;lt;/TD&amp;amp;gt;&lt;br /&gt;
  &amp;amp;lt;/TR&amp;amp;gt;&lt;br /&gt;
  &amp;amp;lt;/TABLE&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 ----&amp;amp;gt; END MODS&lt;br /&gt;
 &lt;br /&gt;
  &amp;amp;lt;&amp;amp;amp; /Elements/Submit,&lt;br /&gt;
     Label =&amp;amp;gt; loc(&amp;#039;Save Changes&amp;#039;),&lt;br /&gt;
     Caption =&amp;amp;gt; loc(&amp;quot;If you&amp;#039;ve updated anything above, be sure to&amp;quot;), color =&amp;amp;gt; &amp;quot;#333399&amp;quot; &amp;amp;amp;&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/form&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4) Add the following right before the end of the %INIT% section:&lt;br /&gt;
&lt;br /&gt;
 my $attachments = $m-&amp;amp;gt;comp(&amp;#039;Elements/FindAttachments&amp;#039;, Ticket =&amp;amp;gt; $Ticket);&lt;br /&gt;
 my $attachment_content = $m-&amp;amp;gt;comp(&amp;#039;Elements/LoadTextAttachments&amp;#039;, Ticket =&amp;amp;gt;&lt;br /&gt;
 $Ticket);&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &amp;amp;lt;/%INIT&amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>