Local customization and callbacks

I have read the wiki about callbacks and am still not clear how best to
create additional links in the menu system for myself.

Here is an example of what I want to do.
I want to add some menu options to the RTIR Tools submenu.

in file
/opt/rt3/share/html/RTIR/Tools/Elements/Tabs

exists a Callbacks line:
<& /Elements/Callback, tabs => $tabs, %ARGS &>

Say I want to add some home grown Tools to this menu without overwriting it.
I think I would create something in the local directory structure:
/opt/rt3/local/html/Callbacks/RTIR/…/Tabs/Default

Or would I create something like:
/opt/rt3/local/html/Callbacks/MYSTUFF/…/Tabs/Default

Am I on the right track for this? What should the exact path be given the
above? I have not been able to figure it out from the wiki.

Thanks.
Dave

This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.

Ce courrier �lectronique est confidentiel et prot�g�. L’exp�diteur ne renonce pas aux droits et obligations qui s’y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu’il contient par une personne autre que le (les) destinataire(s) d�sign�(s) est interdite. Si vous recevez ce courrier �lectronique par erreur, veuillez m’en aviser imm�diatement, par retour de courrier �lectronique ou par un autre moyen.

I have read the wiki about callbacks and am still not clear how best to
create additional links in the menu system for myself.

Here is an example of what I want to do.
I want to add some menu options to the RTIR Tools submenu.

in file
/opt/rt3/share/html/RTIR/Tools/Elements/Tabs

exists a Callbacks line:
<& /Elements/Callback, tabs => $tabs, %ARGS &>

Say I want to add some home grown Tools to this menu without overwriting it.
I think I would create something in the local directory structure:
/opt/rt3/local/html/Callbacks/RTIR/…/Tabs/Default

Or would I create something like:
/opt/rt3/local/html/Callbacks/MYSTUFF/…/Tabs/Default

I don’t have RTIR installed so I can’t tell you the exact path, but
the latter is probably better.

Let me give you another example. I’m trying to add some stuff to
/Ticket/Update.html which has a callback ‘BeforeMessageBox’. So I
created
/path/to/rt3/local/html/Callbacks/MSL/Ticket/Update.html/BeforeUpdateType
for my callback.

HTH,
Michael
Michael S. Liebman m-liebman@northwestern.edu
http://msl521.freeshell.org/
“I have vision and the rest of the world wears bifocals.”
-Paul Newman in “Butch Cassidy & the Sundance Kid”

Let me give you another example. I’m trying to add some stuff to
/Ticket/Update.html which has a callback ‘BeforeMessageBox’. So I
created
/path/to/rt3/local/html/Callbacks/MSL/Ticket/Update.html/BeforeUpdateType
for my callback.

Sorry for the inconsistency there. That path works for the BeforeUpdateType callback, not BeforeMessageBox.

FWIW, I updated the customizing wiki page with an example of where to
put the callback file.

Michael
Michael S. Liebman m-liebman@northwestern.edu
http://msl521.freeshell.org/
“I have vision and the rest of the world wears bifocals.”
-Paul Newman in “Butch Cassidy & the Sundance Kid”