Re: [rt-users] Ticket/Display.html is just not controllable

2010-05-28 Thread Wolfram Huettermann

Kevin Falcone wrote:

On Thu, May 27, 2010 at 09:12:55AM +0200, Wolfram Huettermann wrote:
  

Kevin Falcone wrote:


On Wed, May 26, 2010 at 09:46:42AM +0200, Wolfram Huettermann wrote:
  

I am dealing with Ticket/Display.html. What I found out:

- there is NO change in the page source the  when you change the
Mason-block
- I cannot get any information of the callback-functions used.

My task was to limit the size of the layers in which you can see the
metadata and the history of the ticket. It is more user-friendly to
scroll them.

Has anybody an idea how it could work anyway? Or is it just impossible?


Without knowing what you did, it is impossible to know what is wrong.
However, it sounds like Christian Loos has already implemented a
similar module

http://github.com/cloos/rt-extension-briefhistory

  

I wanted to change the module Ticket/Display.html in the HTML-block.
But its appearance and its source code  remained the same,  even
after I  had cut this block. It seems that the %init%-block
creates the module and overlays  the HTML-code.

I even haven't got any information of the callback-functions in that
block. Here is the init-block of Ticket/Display.html.



You've not actually said what callbacks you created or how you tried
to overlay Display.html by copying it to local/ or explained what you
want to accomplish, so I'm afraid I can't really guess at what you're
trying to do.  Have you read the documentation on the wiki about
customizing RT?

-kevin
  




Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

I know the bug,

plugins are just overlaying the source code. That is very bad :(

Greetings and thanks for your advice,

Wolfram

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


[rt-users] ordering custom fields

2010-05-28 Thread G.Booth

hi All

Does anybody know if there is a way to change how a custom field is ordered 
in a combobox. It seems to default to be ordered by the field Sort (guess 
there's a clue there :-]). Is it possible to order them by Name


regards

Garry

--

Dr Garry Booth
IT Services
Loughborough University

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Time Worked mandatory field

2010-05-28 Thread Jim Tambling
Is there a way to make the 'Time Worked' field mandatory with each
update?

 

Cheers

 

Jim Tambling

 

Network Services

Data Tote Ltd

 

P Think of the environment. Do you need to print this email? 

 

 

 

 


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

[rt-users] Custom Field display descriptions

2010-05-28 Thread Mike Johnson
Greetings,

I'm looking for a quick tweak to the way custom fields are displayed.  Right 
now, we create custom fields with codes, and full descriptions. However, the 
custom field is showing only the code.  Is there a way I can tweak it to show 
the description, but use the associated code when storing it in the database?

I'm on an old version(3.2.1) and this may already be fixed in a newer version 
but I didn't see it in any of the patch notes.

Thanks!
Mike.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Time Worked mandatory field

2010-05-28 Thread Emmanuel Lacour
On Fri, May 28, 2010 at 12:29:44PM +0100, Jim Tambling wrote:
 Is there a way to make the 'Time Worked' field mandatory with each
 update?
 
  

You have to write your own callback for share/html/Ticket/Update.html to
check that the field is not empty on post.

see http://wiki.bestpractical.com/ for hints on callbacks.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


[rt-users] calculating worked time from child tickets

2010-05-28 Thread Richard Pijnenburg
Hi all,

 

We work a lot with a main ticket with sub tickets below it.

For each sub ticket 'time worked' is filled in.

At this moment we manually calculate it and put it in the main ticket.

Is there a way to automate this?

I think it could be done with a scrip with a on update type thing I
think.

Or does someone already have this built?

 

Met vriendelijke groet / With kind regards,

Richard Pijnenburg 
Changes and Incident Coordinator

WideXS  http://www.widexs.nl
http://www.widexs.nl/ 
Tel +31 (0)20 7570780  Fax +31 (0)20 6116302
Zekeringstraat 43,1014 BV Amsterdam, NL

 


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] calculating worked time from child tickets

2010-05-28 Thread Emmanuel Lacour
On Fri, May 28, 2010 at 03:29:33PM +0200, Richard Pijnenburg wrote:
 Hi all,
 
  
 
 We work a lot with a main ticket with sub tickets below it.
 
 For each sub ticket 'time worked' is filled in.
 
 At this moment we manually calculate it and put it in the main ticket.
 
 Is there a way to automate this?
 
 I think it could be done with a scrip with a on update type thing I
 think.
 

yes, I think this is the best to do, a custom scrip on this queue, that
on any Transaction look if this ticket as child and update the
timeworked if needed. On http://wiki.bestpractical.com/, you will find
some scrips conditions/examples that may help you.


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Custom Field display descriptions

2010-05-28 Thread Chris Hall
I was wondering this myself.. on 3.8.7 here.. I'd like a way to have a more
descriptive explanation on the form, rather than Input must match
^\d{3}-\d{3}-\d{4}$ (not everybody knows that means a ###-###- phone
number)

On Fri, May 28, 2010 at 9:16 AM, Mike Johnson mike.john...@normed.cawrote:

 Greetings,

 I'm looking for a quick tweak to the way custom fields are displayed.
  Right now, we create custom fields with codes, and full descriptions.
 However, the custom field is showing only the code.  Is there a way I can
 tweak it to show the description, but use the associated code when storing
 it in the database?

 I'm on an old version(3.2.1) and this may already be fixed in a newer
 version but I didn't see it in any of the patch notes.

 Thanks!
 Mike.

 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Custom Field display descriptions

2010-05-28 Thread Christian Loos
Hi Chris,

Just try this: (?#phone number)^\d{3}-\d{3}-\d{4}$

Chris

Am 28.05.2010 16:13, schrieb Chris Hall:
 I was wondering this myself.. on 3.8.7 here.. I'd like a way to have a
 more descriptive explanation on the form, rather than Input must match
 ^\d{3}-\d{3}-\d{4}$ (not everybody knows that means a ###-###- phone
 number)
 
 On Fri, May 28, 2010 at 9:16 AM, Mike Johnson mike.john...@normed.ca
 mailto:mike.john...@normed.ca wrote:
 
 Greetings,
 
 I'm looking for a quick tweak to the way custom fields are
 displayed.  Right now, we create custom fields with codes, and full
 descriptions. However, the custom field is showing only the code.
  Is there a way I can tweak it to show the description, but use the
 associated code when storing it in the database?
 
 I'm on an old version(3.2.1) and this may already be fixed in a
 newer version but I didn't see it in any of the patch notes.
 
 Thanks!
 Mike.
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com
 
 
 
 
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] ordering custom fields

2010-05-28 Thread Kevin Falcone
On Fri, May 28, 2010 at 09:48:56AM +0100, G.Booth wrote:
 Does anybody know if there is a way to change how a custom field is
 ordered in a combobox. It seems to default to be ordered by the
 field Sort (guess there's a clue there :-]). Is it possible to
 order them by Name

The default sort order for Custom Field Values when pulled from the
database is SortOrder, Name, id - so just don't define SortOrder
on any fields.

-kevin


pgpttksnxBVOn.pgp
Description: PGP signature

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

[rt-users] RT3.8.8 CentOs

2010-05-28 Thread Bouzite, Radouan
Where can I find RT3.8.8compiled version for CentOs ?

 

 

- 
Radouan Bouzite 
Unix/SAN Admin. 
Ipex Management Inc. 
Tel : (514) 769 3445 ext 291 
Fax :(514) 769-1672 

 


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] RT3.8.8 CentOs

2010-05-28 Thread Joop van de Wege

Bouzite, Radouan wrote:

Where can I find RT3.8.8compiled version for CentOs ?
There is no RT3.8.8 version yet in any repo that I know of. But you 
could download the source, run configure and install it.

Using 'make fixdeps' will fix all dependancies for you.
Run Centos5 with rt3.8.8 myself and no problems

Regards,

Joop

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT3.8.8 CentOs

2010-05-28 Thread Jerrad Pierce
On Fri, May 28, 2010 at 15:32, Bouzite, Radouan rad...@ipexna.com wrote:
 Where can I find RT3.8.8compiled version for CentOs ?
You don't. Perl is not a compiled language. Just download the source
tarball and install.
If there's no guide on the wiki for you specific version, try another
or the RHEL guides.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT3.8.8 CentOs

2010-05-28 Thread Sabuj Pattanayek
On Fri, May 28, 2010 at 2:39 PM, Jerrad Pierce
jpie...@cambridgeenergyalliance.org wrote:
 On Fri, May 28, 2010 at 15:32, Bouzite, Radouan rad...@ipexna.com wrote:
 Where can I find RT3.8.8compiled version for CentOs ?
 You don't. Perl is not a compiled language. Just download the source

He's looking for RPMs, which would be nice to have. A recent update to
our server momentarily broke our RT install because it's not part of
the package management system .

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT3.8.8 CentOs

2010-05-28 Thread Bouzite, Radouan

 I founf RT 3.6 in
http://wiki.bestpractical.com/view/CentOS5InstallGuide and it was very
simple to install , but did not find 3.8.8, also I tried to install from
Source follwing the steps in 
http://wiki.bestpractical.com/view/CentOS5InstallPlusSome

but have problems the fix all dependencies with make fixdeps .



-
Radouan Bouzite
Unix/SAN Admin.
Ipex Management Inc.
Tel : (514) 769 3445 ext 291
Fax :(514) 769-1672


-Original Message-
From: rt-users-boun...@lists.bestpractical.com
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Sabuj
Pattanayek
Sent: May-28-10 3:49 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT3.8.8 CentOs

On Fri, May 28, 2010 at 2:39 PM, Jerrad Pierce
jpie...@cambridgeenergyalliance.org wrote:
 On Fri, May 28, 2010 at 15:32, Bouzite, Radouan rad...@ipexna.com
wrote:
 Where can I find RT3.8.8compiled version for CentOs ?
 You don't. Perl is not a compiled language. Just download the source

He's looking for RPMs, which would be nice to have. A recent update to
our server momentarily broke our RT install because it's not part of
the package management system .

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


[rt-users] ChangeLogo

2010-05-28 Thread Troy Knabe
So I am following this doc: http://wiki.bestpractical.com/view/ChangeLogo

But I cannot seem to get the new logo to display.  I am running 3.8.8.  

I am running under the assumption that I need to be setting the variables in 
RT_SiteConfig.pm, correct?  

--
Troy Knabe
kn...@4j.lane.edu






Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT3.8.8 CentOs

2010-05-28 Thread James Moseley
If you're looking for assistance installing/configuring RT in CentOS, there
is a thread titled 'Reqest Tracker CentOS 5.3 setup' in the RT mailing list
archives.  Should be dated April 24th, 2009.


-- 
James Moseley


On Fri, May 28, 2010 at 2:53 PM, Bouzite, Radouan rad...@ipexna.com wrote:


  I founf RT 3.6 in
 http://wiki.bestpractical.com/view/CentOS5InstallGuide and it was very
 simple to install , but did not find 3.8.8, also I tried to install from
 Source follwing the steps in
 http://wiki.bestpractical.com/view/CentOS5InstallPlusSome

 but have problems the fix all dependencies with make fixdeps .


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] ChangeLogo

2010-05-28 Thread Bernard McCormack
Where did you put the image?  I have mine set as:
Set($LogoURL, $WebImagesURL . njlogo.gif);
With the image in:
/opt/rt3/share/html/NoAuth/images

I am also running 3.8.8.

-Original Message-
From: rt-users-boun...@lists.bestpractical.com
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Troy
Knabe
Sent: Friday, May 28, 2010 3:57 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] ChangeLogo

So I am following this doc:
http://wiki.bestpractical.com/view/ChangeLogo

But I cannot seem to get the new logo to display.  I am running 3.8.8.  

I am running under the assumption that I need to be setting the
variables in RT_SiteConfig.pm, correct?  

--
Troy Knabe
kn...@4j.lane.edu






Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT3.8.8 CentOs

2010-05-28 Thread Jerrad Pierce
 He's looking for RPMs, which would be nice to have. A recent update to
 our server momentarily broke our RT install because it's not part of
 the package management system .
That's not what he said though.

It's also complicated by the fact RH/CentOS has an out-of-date File::Temp.
If you're installing all of RT with local:lib, you need to keep an eye
on logwatch
reports for signs of up2date clobbering it.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] ChangeLogo

2010-05-28 Thread Juan N. DLC
Where did you pont you'r new logo?

On Fri, May 28, 2010 at 3:56 PM, Troy Knabe kn...@4j.lane.edu wrote:

 So I am following this doc: http://wiki.bestpractical.com/view/ChangeLogo

 But I cannot seem to get the new logo to display.  I am running 3.8.8.

 I am running under the assumption that I need to be setting the variables
 in RT_SiteConfig.pm, correct?

 --
 Troy Knabe
 kn...@4j.lane.edu






 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] ChangeLogo

2010-05-28 Thread Troy Knabe
Forgive me as I am NOT a web programmer at all.  

So I need to change this:

div#logo a {
- display: none;
position: absolute;
- left: 0;
- bottom: 0;
}

To This:

div#logo a img {
+ z-index: 100;
+ position: absolute;
border: 0;
}


--
Troy Knabe
kn...@4j.lane.edu





On May 28, 2010, at 1:13 PM, Jason A. Smith wrote:

 On Fri, 2010-05-28 at 12:56 -0700, Troy Knabe wrote:
 So I am following this doc: http://wiki.bestpractical.com/view/ChangeLogo
 
 But I cannot seem to get the new logo to display.  I am running 3.8.8.  
 
 I am running under the assumption that I need to be setting the variables in 
 RT_SiteConfig.pm, correct?  
 
 It works for me, but like the Wiki says, it requires a patch to the web2
 style sheet because it hides the logo by default.  I reported this
 several months ago:
 
 http://issues.bestpractical.com/Ticket/Display.html?id=13964user=guestpass=guest
 
 Hopefully they will fix this bug in a future release.
 
 ~Jason
 
 
 --
 Troy Knabe
 kn...@4j.lane.edu
 
 
 
 
 
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com
 
 
 -- 
 /--\
 |  Jason A. Smith  Email:  smit...@bnl.gov |
 |  Atlas Computing Facility, Bldg. 510MPhone: +1-631-344-4226  |
 |  Brookhaven National Lab, P.O. Box 5000  Fax:   +1-631-344-7616  |
 |  Upton, NY 11973-5000,  U.S.A.   |
 \--/
 


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] ChangeLogo

2010-05-28 Thread Jason A. Smith
On Fri, 2010-05-28 at 12:56 -0700, Troy Knabe wrote:
 So I am following this doc: http://wiki.bestpractical.com/view/ChangeLogo
 
 But I cannot seem to get the new logo to display.  I am running 3.8.8.  
 
 I am running under the assumption that I need to be setting the variables in 
 RT_SiteConfig.pm, correct?  

It works for me, but like the Wiki says, it requires a patch to the web2
style sheet because it hides the logo by default.  I reported this
several months ago:

http://issues.bestpractical.com/Ticket/Display.html?id=13964user=guestpass=guest

Hopefully they will fix this bug in a future release.

~Jason


 --
 Troy Knabe
 kn...@4j.lane.edu
 
 
 
 
 
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com
 

-- 
/--\
|  Jason A. Smith  Email:  smit...@bnl.gov |
|  Atlas Computing Facility, Bldg. 510MPhone: +1-631-344-4226  |
|  Brookhaven National Lab, P.O. Box 5000  Fax:   +1-631-344-7616  |
|  Upton, NY 11973-5000,  U.S.A.   |
\--/



smime.p7s
Description: S/MIME cryptographic signature

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] RT3.8.8 CentOs

2010-05-28 Thread Jerrad Pierce
 It's also complicated by the fact RH/CentOS has an out-of-date File::Temp.
 If you're installing all of RT with local:lib, you need to keep an eye
 on logwatch reports for signs of up2date clobbering it.
If you're NOT installing all of RT with local:lib, that is.

-- 
Cambridge Energy Alliance: Save money. Save the planet.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] ChangeLogo

2010-05-28 Thread Jason A. Smith
On Fri, 2010-05-28 at 13:21 -0700, Troy Knabe wrote:
 Forgive me as I am NOT a web programmer at all.  
 
 
 So I need to change this:
 
 
 div#logo a {
 - display: none;
 position: absolute;
 - left: 0;
 - bottom: 0;
 }
 
 
 To This:
 
 
 div#logo a img {
 + z-index: 100;
 + position: absolute;
 border: 0;
 }

Not exactly, the - sign means remove those three lines from that section
of the file in the first block, and for the second block, the + sign
means add those two lines (without the + sign at the beginning of the
line).

~Jason

 --
 Troy Knabe
 kn...@4j.lane.edu
 
 
 
 
 
 
 
 
 On May 28, 2010, at 1:13 PM, Jason A. Smith wrote:
 
  On Fri, 2010-05-28 at 12:56 -0700, Troy Knabe wrote:
   So I am following this doc:
   http://wiki.bestpractical.com/view/ChangeLogo
   
   But I cannot seem to get the new logo to display.  I am running
   3.8.8.  
   
   I am running under the assumption that I need to be setting the
   variables in RT_SiteConfig.pm, correct?  
  
  It works for me, but like the Wiki says, it requires a patch to the
  web2
  style sheet because it hides the logo by default.  I reported this
  several months ago:
  
  http://issues.bestpractical.com/Ticket/Display.html?id=13964user=guestpass=guest
  
  Hopefully they will fix this bug in a future release.
  
  ~Jason
  
  
   --
   Troy Knabe
   kn...@4j.lane.edu
   
   
   
   
   
   
   Discover RT's hidden secrets with RT Essentials from O'Reilly
   Media.
   Buy a copy at http://rtbook.bestpractical.com
   
  
  -- 
  /--\
  |  Jason A. Smith  Email:  smit...@bnl.gov |
  |  Atlas Computing Facility, Bldg. 510MPhone: +1-631-344-4226  |
  |  Brookhaven National Lab, P.O. Box 5000  Fax:   +1-631-344-7616  |
  |  Upton, NY 11973-5000,  U.S.A.   |
  \--/
  
  
 
 

-- 
/--\
|  Jason A. Smith  Email:  smit...@bnl.gov |
|  Atlas Computing Facility, Bldg. 510MPhone: +1-631-344-4226  |
|  Brookhaven National Lab, P.O. Box 5000  Fax:   +1-631-344-7616  |
|  Upton, NY 11973-5000,  U.S.A.   |
\--/



smime.p7s
Description: S/MIME cryptographic signature

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] RT3.8.8 CentOs

2010-05-28 Thread Gary Greene
On 5/28/10 1:24 PM, Jerrad Pierce jpie...@cambridgeenergyalliance.org
wrote:
 It's also complicated by the fact RH/CentOS has an out-of-date File::Temp.
 If you're installing all of RT with local:lib, you need to keep an eye
 on logwatch reports for signs of up2date clobbering it.
 If you're NOT installing all of RT with local:lib, that is.

This is the VERY reason I built my own RPMs for RT and then set Yum to hold
the current packages for File::Temp that I built.

-- 
Gary L. Greene, Jr.
IT Operations
Minerva Networks, Inc.
Cell:  (650) 704-6633
Phone: (408) 240-1239


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com