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

Add several Menu using internal services and models. #19662

Open
1 task done
pouyababaie opened this issue Apr 30, 2024 · 0 comments
Open
1 task done

Add several Menu using internal services and models. #19662

pouyababaie opened this issue Apr 30, 2024 · 0 comments

Comments

@pouyababaie
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

im trying to create a sidemenu beside the exsiting one , my layout demands a secondary sidemenu that i want it to use the same functionaliy of exsitsnig MainMenu , MenuProvider , and IMenuManager.

i created a sidemenucontributer for that matter but there was no documentation to manually use the new menu contributer instread of the main one.

i put an image to show my need better :

sorry beforehand for weak illustration

Screenshot 2024-04-30 123607

the red lines are the menu item i want to be added by the new menu contributer
i alreadt created the layout and a customsidemenuComponent for it but i dont know how to add the new menuItem list to it

the customsidemenuComponent inherits MainHeader component from lepton Theme but it does not get a Menu parameter.

Describe the solution you'd like

if there would be a service that get the contributor and returned a list of menu item , it would ease the process a lot.

currently i was unable to find any suitable docs for this need.

i genuinely accepts any thoughts on this.

Thanks !

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant