How to customize Tools index.html with Callback

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

When using this callback, I’ve only ever had items added to the
sub-menu on top, and never the body of the page… kind of annoying.

Cambridge Energy Alliance: Save money. Save the planet.

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?

Sounds like you also want to use the callback located in
Toole/index.html or provide a patch to unify these two lists.

-kevin

Sounds like you also want to use the callback located in
Toole/index.html or provide a patch to unify these two lists.

Or even a comment that the other exists :wink:
Cambridge Energy Alliance: Save money. Save the planet.