[rt-users] RT3.8 -> RT4 Callback changes - Elements/Tabs/Default

Kevin Falcone falcone at bestpractical.com
Wed Aug 3 14:53:17 EDT 2011

On Wed, Aug 03, 2011 at 04:32:12PM +0100, Howard Jones wrote:
> Having gotten a working base RT4 install with my data in it, I'm going
> through the few local changes we have and confirming that they still
> work. Mostly they do, but one doesn't and I don't exactly see the "new way":
> In my old Elements/Tabs/Default I modified $toptabs, to add some extra
> options to the side menu:
> $toptabs->{'ZZZZZX'} = { title => loc('Conferences'),
>                          path => 'Extras/conferences.html'
>                         };
> In the new interface, it looks like Elements/Tabs/Default is now
> Elements/Tabs/Privileged but that doesn't look like it takes any
> parameters, so I don't see what it could modify.
> So how do you modify the menus in RT 4.0.x? And I guess more generally:
> is there some kind of migration guidance online somewhere for upgraders?

Look at some of the extensions that have been updated for 4.0, such as
JSGantt.  You now call the PageMenu or Menu methods and get a menu
object to change, based on which menu you want to affect.

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

More information about the rt-users mailing list