Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

shell.menu_item #1140

Answered by lovasoa
Aesth asked this question in Q&A
Dec 2, 2025 · 3 comments · 1 reply
Discussion options

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?

You must be logged in to vote

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

Comment options

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.

You must be logged in to vote
1 reply
Comment options

pull request welcome !

Comment options

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.

You must be logged in to vote
0 replies
Answer selected by Aesth
Comment options

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.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /