How to add a variable in RT_SiteConfig

Hello,

I made some customizations in RT and I want to be able to do some easy
modifications in the future. So I want to use some global variables
and to access to them in a .html file or in a template.

I try to add them in RT_SiteConfig.pm but I get :
Global symbol “$TestVariable” requires explicit package name at …/index.html

Anyone has an idea ?

Thanks,
Olivier

I found the solution :

I forgot to add the $RT::
I have to use $RT::TestVariable.

Now it works well

Best Regards,
Olivier2005/9/6, Olivier Horec olivier.horec@gmail.com:

Hello,

I made some customizations in RT and I want to be able to do some easy
modifications in the future. So I want to use some global variables
and to access to them in a .html file or in a template.

I try to add them in RT_SiteConfig.pm but I get :
Global symbol “$TestVariable” requires explicit package name at …/index.html

Anyone has an idea ?

Thanks,
Olivier