RES: How to add a variable in RT_SiteConfig

Use $RT::TestVariable instead of $TestVariable.

Regards,
Rodolfo

-----Mensagem original-----De: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com]Em nome de Olivier
Horec
Enviada em: terça-feira, 6 de setembro de 2005 06:37
Para: RT Mailing List
Assunto: [rt-users] 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
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from http://rtbook.bestpractical.com