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?
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.
I just did this for Asset Tracker. Let me know if you need any help.
-ToddOn Wed, Aug 3, 2011 at 11:32 AM, Howard Jones howie@thingy.com 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?
Menu->child( new => title => “bbbbbbbbb” => path => “/lalala?lala=1”
);
</%INIT>
does nothing.
The suggestion to look at JsGant extension is not that helpful because
they are just operating on what used to be the top tab menu items in
3.x. I want to add an item to the “Tickets” global menu item (what
used to be the left side nav in 3.x).
is “PageMenu” for the toptabs and “Menu” for the global menu?
Menu->child( new => title => “bbbbbbbbb” => path => “/lalala?lala=1”
);
</%INIT>
does nothing.
The suggestion to look at JsGant extension is not that helpful because they are just operating on what used to be the top tab menu items in 3.x. I want to add an item to the “Tickets” global menu item (what used to be the left side nav in 3.x).
is “PageMenu” for the toptabs and “Menu” for the global menu?