Opps, that was supposed to be /local/html/Tools/Report. Sorry.<br><br>Kenn<br><br><div class="gmail_quote">On Tue, Mar 29, 2011 at 8:39 AM, Kenneth Crocker <span dir="ltr"><<a href="mailto:kfcrocker@lbl.gov">kfcrocker@lbl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Walid,<br><br>Also, we used to have a different $home than /opt/rt3/ (in Solaris) and it caused <b><i>endless</i></b> problems when trying to implement extensions. We decided to just go to opt/rt3 and put it in VM and we've been sailing smoothly ever since. Just a thought for you to consider.<br>
<br>Kenn<br>LBNL<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Mar 29, 2011 at 8:37 AM, Kenneth Crocker <span dir="ltr"><<a href="mailto:kfcrocker@lbl.gov" target="_blank">kfcrocker@lbl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Walid,<br><br>Well, <i>Wherever</i> you have the .../Tools/Report/... you will need a .../local/Tools/Report/ version to put "TimeWorkedReport".<br><br>Kenn<br>LBNL<div><div></div><div><br><br><div class="gmail_quote">
On Tue, Mar 29, 2011 at 7:00 AM, Walid Haider <span dir="ltr"><<a href="mailto:walid.haider@movensis.com" target="_blank">walid.haider@movensis.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="PT">
<div>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi Johan,</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">No, I do not. Should I go ahead and create it and then follow
Kenn’s instructions?</span><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Regards,</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Walid</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div>
<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a>
[mailto:<a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a>] <b>On Behalf Of </b>Johan
Sjöberg<br>
<b>Sent:</b> terça-feira, 29 de Março de 2011 14:56<div><div></div><div><br>
<b>To:</b> <a href="mailto:rt-users@lists.bestpractical.com" target="_blank">rt-users@lists.bestpractical.com</a><br>
<b>Subject:</b> Re: [rt-users] Time Worked Report</div></div></span></p>
</div>
</div><div><div></div><div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">Do you have a /usr/local/rt3?</span><span lang="SV"></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span><span lang="SV"></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">/Johan</span><span lang="SV"></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span><span lang="SV"></span></p>
<div>
<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a>
[mailto:<a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a>] <b>On Behalf Of </b>Walid
Haider<br>
<b>Sent:</b> den 29 mars 2011 15:20<br>
<b>To:</b> Kenneth Crocker; <a href="mailto:rt-users@lists.bestpractical.com" target="_blank">rt-users@lists.bestpractical.com</a><br>
<b>Subject:</b> Re: [rt-users] Time Worked Report</span><span lang="SV"></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="SV"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Kenn,</span><span lang="SV"></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><span lang="SV"></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">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.</span><span lang="SV"></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span><span lang="SV"></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">Please advise if I should create the <i>local</i>
directory within /usr/share/rt3.</span><span lang="SV"></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span><span lang="SV"></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">Thanks,</span><span lang="SV"></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">Walid </span><span lang="SV"></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span><span lang="SV"></span></p>
<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a>
[mailto:<a href="mailto:rt-users-bounces@lists.bestpractical.com" target="_blank">rt-users-bounces@lists.bestpractical.com</a>] <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> <a href="mailto:rt-users@lists.bestpractical.com" target="_blank">rt-users@lists.bestpractical.com</a><br>
<b>Subject:</b> Re: [rt-users] Time Worked Report</span><span lang="SV"></span></p>
</div>
<p class="MsoNormal"> <span lang="SV"></span></p>
<p class="MsoNormal" style="margin-bottom: 12pt;">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<span lang="SV"></span></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"> <span lang="SV"></span></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"> <span lang="SV"></span></p>
</div></div></div>
</div>
</blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>