[rt-users] Global HTML <head>

Kevin Falcone falcone at bestpractical.com
Mon Oct 7 11:00:04 EDT 2013


On Wed, Oct 02, 2013 at 05:44:05AM -0700, Duane Winner wrote:
> How do I add a custom global HTML header metadata for all RT content?
> 
> One of our customers does content filtering and does not permit access if we do not have meta info on all of our HTML; I need to get something like this on all RT generated pages:
> 
>    <meta name="Keywords" content="RT, project, tasks, tickets, project management, request tracker, RT, trouble ticket"> 
>    <meta name="Description" content="Support system">
> 
> I know this must be a simple and common RT configuration, but I am not finding how to do this anywhere in the docs or in searches.
> 
> Do I edit a file in /usr/share/request-tracker4/html ? Or something else?

There's a callback called 'Head' in Elements/Header which you can use
to do what you want.  Read more about using callbacks on the wiki.

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20131007/32207c29/attachment.sig>


More information about the rt-users mailing list