RT::Extension::ArticleTemplates - Turns Articles into dynamic templates
When this extension is installed, RT parses the content of Articles as a template, using the Text::Template module; this can be used to make your Articles dynamic. Text::Template is the same module that RT's Templates use as well.
It's a SECURITY RISK to install this extension on systems where articles can be changed by not trusted users.
if your articles contain text that currently looks like a template, it will begin being parsed as Text::Template code after this extension is installed -- even if it is not a valid template.
May need root permissions
If you are using RT 4.2 or greater, add this line:
For RT 4.0, add this line:
RT::Extension::ArticleTemplates to your existing
rm -rf /opt/rt4/var/mason_data/obj
Enabling this option passes in the Mason request arguments to your article templates as the hashref
Warning: Request args are user-controlled direct input, so all the normal cautions of using them apply. Never trust user input.
Disabled by default.
The following methods from RT::Article are redefined:
Parses $CONTENT string as a template (Text::Template). $Article and other arguments from %TEMPLATE_ARGS are available in code of the template as perl variables.
Best Practical Solutions, LLC <firstname.lastname@example.org>
All bugs should be reported via email to
or via the web at
This software is Copyright (c) 2014 by Best Practical Solutions
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991