Technical mailing list archives
Re: Change menu id?by
Elico Solutions Pte Ltd, dominique kon sun tack
Possible solution: "hide" the old menu
Move the old menu in a "hidden" location, for example under the "settings>technical"
Move the new menu item at the desired location, and you should be good.
On Fri, 26 Apr 2019 at 22:56, Dominic Pain <firstname.lastname@example.org> wrote:
Hi, I've created a new sub menu in Sales/Sales called Report Templates. This is (and does) link to a list of templates and from there to a wysiwig edit (fields.Html) to allow customers to edit templates. I've also created a new menu called "Report Templates Management", with a dropdown which allows users to toggle between Templates and Notes. When the user clicks on Sales/Sales/Report Templates, I want the menu to change from menu_id=97 (Sales/Sales) to menu_id=481 (Report Templates Management) - how would I go about this? Current code in the gist, screenshots attached numerically demonstrate what I'm trying to achieve. https://gist.github.com/WeeDom/f13d2103aef142c8aa521f59e92ac435 Thanks in advance! Dominic