[rt-users] Re: How to add a variable in RT_SiteConfig

Olivier Horec olivier.horec at gmail.com
Tue Sep 6 06:04:54 EDT 2005


I found the solution :

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

Now it works well

Best Regards,
Olivier

2005/9/6, Olivier Horec <olivier.horec at 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
>



More information about the rt-users mailing list