-
-
Notifications
You must be signed in to change notification settings - Fork 162
-
Am I correct in understanding that the shell component can't have more than two menu levels? When I tried to display
menu_item
menu_item1
menu_item2
menu_item2_1
menu_item2_2
it only shows
menu_item
menu_item1
menu_item2
And another question: is there a way to always stay within a single page without creating a chain of previously opened pages to avoid returning to the previous page? Or is this only possible with JS? For example, after logging in, I change the "Login" menu item on the main page to "Logout," but the user can still navigate back to the page with the "Login" menu item. Is there a way to disable page caching, or is this also only possible with JS?
Beta Was this translation helpful? Give feedback.
All reactions
Hi !
can't have more than two menu levels?
Yes, we currently have menus and submenus, nothing more !
is there a way to always stay within a single page without creating a chain of previously opened pages to avoid returning to the previous page?
Yes, preventing the browser from adding a page to the navigation history can only be done in javascriptt. But I'm not sure I understand your setup. If you have a login page and a main page, then after logging in, when you click the browser's back button, you go back to the login page, which is generally expected.
Replies: 3 comments 1 reply
-
If shell.fixed_top_menu=TRUE, then shell.layout=boxed looks the same as horizontal. If this is correct, it doesn't seem to be documented.
Beta Was this translation helpful? Give feedback.
All reactions
-
pull request welcome !
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi !
can't have more than two menu levels?
Yes, we currently have menus and submenus, nothing more !
is there a way to always stay within a single page without creating a chain of previously opened pages to avoid returning to the previous page?
Yes, preventing the browser from adding a page to the navigation history can only be done in javascriptt. But I'm not sure I understand your setup. If you have a login page and a main page, then after logging in, when you click the browser's back button, you go back to the login page, which is generally expected.
Beta Was this translation helpful? Give feedback.
All reactions
-
have menus and submenus, nothing more
Ок.
If you have a login page and a main page, then after logging in, when you click the browser's back button, you go back to the login page, which is generally expected.
Of course, there's some logic to this. After logging in, I open the start page again, where the "Login" menu item is replaced by the "Logout" menu item. When I return and reopen the login page, I see a page with a message that the session is already open. I just wanted it to work like the standalone app, although I understand that this is a slightly different approach that I'll need to get used to.
pull request welcome !
Maybe it's supposed to be like this, so I wasn't sure if it was a bug or if the fixed menu bar in boxed mode couldn't be made any other way.
Beta Was this translation helpful? Give feedback.