https://github.com/lillinator/navigation-menu-display-control
This theme component allows changing the display of navigation menu default and custom sections and/or links to staff-only or logged-in only.
https://github.com/lillinator/navigation-menu-display-control
discourse discourse-theme-component navigation-menu sidebar sidebar-menu sidebar-navigation
Last synced: 2 months ago
JSON representation
This theme component allows changing the display of navigation menu default and custom sections and/or links to staff-only or logged-in only.
- Host: GitHub
- URL: https://github.com/lillinator/navigation-menu-display-control
- Owner: Lillinator
- License: mit
- Created: 2023-09-04T03:11:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-30T01:19:23.000Z (9 months ago)
- Last Synced: 2024-12-28T08:43:09.436Z (4 months ago)
- Topics: discourse, discourse-theme-component, navigation-menu, sidebar, sidebar-menu, sidebar-navigation
- Language: SCSS
- Homepage: https://meta.discourse.org/t/navigation-sidebar-menu-display-control/277687/
- Size: 195 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Discourse navigation menu sections display control
https://meta.discourse.org/t/navigation-sidebar-menu-display-control/277687/2This theme component allows changing the display of navigation menu default and custom sections and/or links to staff-only or logged-in only. It also allows showing of a custom menu section to anonymous users only.
There are no formatting functions in this component other than display options for navigation menu sections to staff, logged-in, or anon users.
For group-specific navigation sidebar menu display options, please use the group menu sections theme component.
Thanks to @Nathan-nz for the show sidebar to logged-in only code.