<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=PT link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Kenn,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Again, thanks for the reply. As I ran a packaged install of RT
3.8.4, my $home is /usr/share/rt3. My folder structure is different compared to
what you mention below, as I do not have a share directory within my RT $home.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Please advise if I should create the <i>local</i>  directory  within
/usr/share/rt3.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Walid <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] <b>On Behalf Of </b>Kenneth
Crocker<br>
<b>Sent:</b> segunda-feira, 28 de Março de 2011 17:33<br>
<b>To:</b> rt-users@lists.bestpractical.com<br>
<b>Subject:</b> Re: [rt-users] Time Worked Report<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Walid,<br>
<br>
What I mean is this; it is <b>highly recommended</b> that any changes you make
to RT code be done in a <i>"local"</i> version. RT will automatically
look to $Home/<b>local/</b>.../.../ (where $home is usually opt/rt3/) for <i>any
override code</i> that an installation may have developed. In this example
(TimeWorkedReport), I copied the various /$home<b>/share/</b>.../...
directories & files listed in the "readme' for that report into a
/$home/<b>local/</b>.../... <b>version/copy</b> of those <i>directoryies &
files</i>. I did <b>NOT</b> make any changes to any <b>/share/ <i>version</i></b>
of RT code. This is recommended for a couple reasons; the least of which it is <i>easier
to maintain later versions</i> of RT without wiping out your local code
(provided you keep a copy of that code). Also, industry wide for about the last
40 years, it has been considered a <i>best practice</i> to <b>never</b> mess
with original code, but to provide a method that allows you to use other code
instead.<br>
<br>
So, my advice is to first; return all /share/ code to it's original state. Then
create $home<b>/local/</b>html/Tools/Reports directories in order to
copy/create the files mentioned in the "TimeWorkedReport"
documentation. That's what I did:<br>
<span style='font-family:"Courier New"'><br>
</span>1) If it exists,type <b><span style='color:blue'>“/opt/rt3/local/html/Elements/”
</span><enter></b> otherwise, create it.<br>
2) Copy the <b><i>“delivered”</i></b> file (from .../share/...) <b>SelectQueue</b>
over to this directory with a the new name.<br>
    A) Type <b><span style='color:blue'>“cp
/opt/rt3/share/html/Elements/SelectQueue SelectMultiQueue” </span><enter></b>.<br>
3) Replace the code in <b><i>“SelectMultiQueue”</i></b> with the
code specified for this file from the document the <b>“<u>TimeWorkedReport</u>".</b><br>
4) If it exists, type <b><span style='color:blue'>“/opt/rt3/local/html/Tools/”
</span><enter></b>, otherwise, create it.<br>
5) Create new directories:<br>
    A) Create <b>“Reports”</b> directory within <b>“Tools”<br>
    </b>B) Get into <b>“Reports</b>” directory.<br>
    C) Create <b>“Elements”</b> directory within <b>“Tools/Reports”</b><br>
6) Copy the <b><i>“delivered”</i></b> files (from .../share/...) (<b>Tabs,
index.html</b>) over to the new directories:<br>
    A) Copy the <b>“Tabs”</b> file over to <b>“Tools/Reports/Elements”</b>:<br>
        1) Within <b>“Elements”,</b>
type <b><span style='color:blue'>“cp /opt/rt3/share/html/Tools/Reports/Elements/Tabs
.” </span><enter></b>.<br>
        2) Go back 1 directory level to get
to <b>“/Tools/Reports”</b>.<br>
        3) Copy the <b>“index.html”</b>
file over to <b>“Tools/Reports” <i>twice</i>:</b><br>
            a) Within <b>“Tools/Reports”,</b>
type <b><span style='color:blue'>“cp /opt/rt3/share/html/Tools/index.html
.” </span><enter></b>.<br>
            b) Within <b>“Tools/Reports”,</b>
type <b><span style='color:blue'>“cp /opt/rt3/share/html/Tools/index.html
TimeWorkedReport.html” </span><enter></b>.<br>
7) Modify/Replace the code in <b><i>“Tabs”,
“index.html” &  “TimeWorkedReport” </i></b>with
the code specified for these files from the document the <b>“<u>Time
Worked Report</u>”</b>.<br>
<br>
Anyway, This is the procedure I followed and I had absolutely no problems AND I
didn't have to worry about Production being messed up.<br>
<br>
Also, I'm in 3.8.7 so I made sure to follow the 3.8 instructions.<br>
<br>
Hope this helps.<br>
<br>
Kenn<br>
LBNL<br>
<br>
<o:p></o:p></p>

<div>

<div>

<div>

<div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>

</div>

</div>

</div>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</body>

</html>