[rt-users] RT::Extension::PriorityAsString stops working when adding another PLugin.

Michael Neuschafer mneuschafer at nationalstoresinc.com
Fri Feb 12 15:02:22 EST 2010


I already resolved it, Thanks though I appreciate the help.

 

Michael Neuschafer

PC Support Specialist

National Stores Inc.

(310) 436 - 2150

 

From: Brenner, Martin [mailto:martin.brenner at whitfieldschool.org] 
Sent: Friday, February 12, 2010 11:58 AM
To: Michael Neuschafer
Cc: Joop van de Wege; rt-users at lists.bestpractical.com
Subject: Re: [rt-users] RT::Extension::PriorityAsString stops working
when adding another PLugin.

 

There should be only one @Plugins line. With another Set(@Plugins...
line it would set the plugins over again and set only the ones listed.So
it looks like you would want:

Set(@Plugins,(qw(RT::Extension::PriorityAsString
RT::Extension::MandatorySubject)));

Martin



On Fri, Feb 12, 2010 at 1:03 PM, Michael Neuschafer
<mneuschafer at nationalstoresinc.com> wrote:

RT_SiteConfig.pm - I want the PLugin Extension MandatorySubject to work
but when I remove the pound sign to use it my PriorityAsSring stops
working and shows numbers rather than low, medium, high.

# Plugins


Set(@Plugins,(qw(RT::Extension::PriorityAsString)));
# Specify a mapping between priority strings and the internal
Set(%PriorityAsString, (Low => 0, Medium => 50, High => 100));
# which order to display the priority strings
# if you don't specify this, the strings in the PriorityAsString
Set(@PriorityAsStringOrder, qw(Low Medium High));

# Remove below pound sign to use plugin.  Using this plugin will disable
PriorityAsstring
#Set(@Plugins, qw(RT::Extension::SearchResults::XLS));

Set(@Active_MakeClicky, qw(short_ticket_link markup_fedex));
#Set(@Plugins,(qw(RT::Extension::MandatorySubject)));

1;



Michael Neuschafer
PC Support Specialist
National Stores Inc.

-----Original Message-----
From: Joop van de Wege [mailto:JoopvandeWege at mococo.nl]
Sent: Friday, February 12, 2010 10:25 AM
To: Michael Neuschafer
Cc: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] RT::Extension::PriorityAsString stops working
when adding another PLugin.

Michael Neuschafer wrote:
> Anytime I add any new @Plugins in the RT site config it causes my
> RT::Extension::PriorityAsString to malfunction and shows numbers
rather
> than Low, Medium, High.  Anybody know what can cause this? The new
> plugin will work but not my RT::Extension::PriorityAsString.  Please
help.
Please post the relevant part of your RT_SiteConfig.pm
Should like like: Set(@Plugins,qw(RT::FM RT::Extension::ForkTicket
RT::Extension::ResetPassword));

But my guess is that yours contains only one element and that you're
having more than one like this:
Set(@Plugins,qw(RT::FM));
Set(@Plugins,qw(RT::Extension::ForkTicket));

Regards,

Joop

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales at bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100212/104c5670/attachment.htm>


More information about the rt-users mailing list