[rt-users] how to customize Tools index.html with Callback

Allen allen+rtlist at crystalfontz.com
Tue Feb 2 20:32:12 EST 2010


v3.8.5 on Ubuntu.

I am trying to customize the Tools/index.html page to add the same
item to both the Tab top horizontal navigation menu and to the
ListMenu of items in the body of the page.

By creating this local callback file, I was able to get an item into
the top nav tab:
/usr/local/share/request-tracker3.8/html/Callbacks/Default/Tools/Elements/Tabs/Default

<%init>
    $tabs->{e} = { title       => 'Reset Customer Password',
                   path        => "Tools/resetpasswdform.html",
                   description => "Form to email customer a new password" };
</%init>
<%args>
 $tabs =>undef
</%args>


The "items" list on the index page is basically an iteration through
the title/description of $tabs elements, but it does not show the new
item that I added through the callback.

Does anyone know why not? What else do I need to do?

Allen



More information about the rt-users mailing list