I want to have different menus on each of my pages, because each has specific functionalities. On the first page there’s a navigation to the second page and vice versa. When I navigate from page1 to page2 the menu of page2 is shown correctly. But when I navigate back to page1, the menu-button (the three lines) does not show up anymore on page1. I googled and read toturials but I haven’t found any advise to this problem.
Thanks for your answer. But having only one toplevel menu make no sense for me, because the actions available on each page are very distinct. The menu is not really for navigation.
May I define multiple menus as shown, having only one ion-root-outlet and switching the menu when the page is entered using the menuController. Would this work?
Or is there another kind of menu beside the sidemenu, e.g. a popup-menu?
Thanks. I put all my menus in app.component.html and on each page there’s a menu-button which calls a method to open the specific menu for this page. This works perfectly. There’re no extra router-outlets.
But there’s still one problem (maybe a little bit out of topic). How can I call page-specific methods from the menu which is located outside the page? As far as I know, I only can call methods of app.component.ts.
Hello, Can you provide the code as it seems to be operational ?
I tried to code an multi tab with a diffrent menu pet tab app, but still can’t get it to works properly… cant have menu 1 when I return from menu 2 (flow is : tab1 (menu 1 is ok) -> tab2 (menu 2 is ok) -> tab 1 (menu 1 is lost ) ) … @ionic version is 5.0.0 also …
I also tried to apply hints form this tuto but without success yet : https://www.youtube.com/watch?v=4VYC725VMNA