[rt-users] local customization and callbacks

Michael S. Liebman m-liebman at northwestern.edu
Wed Jul 14 16:09:37 EDT 2004


On Wed, Jul 14, 2004 at 01:11:24PM -0400, david.falkenburger at rbc.com wrote:
> 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 at 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"



More information about the rt-users mailing list