[rt-users] Config of own plugin

2012-05-23 Thread Alexander Reintzsch
Hi folks, I am using RT 4.0.6. I wrote a plug-in which needs some variables to be set in the config file. So I created a file /opt/rt4/local/RTx-MYPLUGIN/etc/RT_SiteConfig.pm It looks like that: Set($MyVar, 'SomeValue'); 1; The plug-in is activated in /opt/rt4/etc/RT_SiteConfig.pm with Set(@Plug

Re: [rt-users] Config of own plugin

2012-05-23 Thread Christian Loos
Maybe the config filename must be unique. Rename your config file in flocal/plugin/RTx-MYPLUGIN/etc/ from RT_SiteConfig.pm to MYPLUGIN_Config.pm. I never had problems with my solution. Take a look at: https://github.com/cloos/rt-extension-priorityasstring -Chris Am 23.05.2012 09:16, schrieb

Re: [rt-users] Config of own plugin

2012-05-23 Thread Thomas Sibley
On 05/23/2012 03:16 AM, Alexander Reintzsch wrote: > I am using RT 4.0.6. > I wrote a plug-in which needs some variables to be set in the config file. > So I created a file > /opt/rt4/local/RTx-MYPLUGIN/etc/RT_SiteConfig.pm As Christian Loos pointed out, RT_SiteConfig.pm and RT_Config.pm are treat