Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested nav menu #70

Closed
garymcnamara opened this issue Jan 2, 2024 · 4 comments
Closed

Nested nav menu #70

garymcnamara opened this issue Jan 2, 2024 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@garymcnamara
Copy link

It would be great to be able to navigate content via nested menus.
Initially it can just be 'parent/child' directory, according to how the pages are created.

Long term, one solution could be:

When creating a new page, select it's parent page and sort order.
If no parent page is defined, the page is considered top of the directory tree
Sort order field is numerical only. Sort order starts from 1 (0 reserved for home / root, at very top if tree). Form input is validated to numerics only. No upper numerical value for sort order.
If no sort order is specified, enter a default value of 1
Nav bar sorts parent --> child relationships first numerically, then alphabetically

@redimp
Copy link
Owner

redimp commented Jan 3, 2024

Hey @garymcnamara, thanks for the suggestion.

in #60 (reply in thread) was discussed that the left sidebar could hold the page/directory tree.

Does this match what you propose? (With the additional feature to have the option of putting an extra sorting to the elements)

@garymcnamara
Copy link
Author

garymcnamara commented Jan 4, 2024 via email

@redimp redimp added the enhancement New feature or request label Jan 4, 2024
@redimp
Copy link
Owner

redimp commented Jan 31, 2024

The nested Menu in the sidebar is in development. Preview:

image

@redimp
Copy link
Owner

redimp commented Feb 18, 2024

Available in 2.1.0..

@redimp redimp closed this as completed Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants