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

Make UserMenu and LoginMenu extensible to using drivers #14214

Merged
merged 20 commits into from
Aug 31, 2023

Conversation

MikeAlhayek
Copy link
Member

@MikeAlhayek MikeAlhayek commented Aug 26, 2023

Fix #14213

To inject new menu items in either the LoginMenu or UserMenu you can implement and register an implementation of DisplayDriver<UserMenu>. The Detail displayType is used to create the front end menu whereas the DetailAdmin is used to create the admin menu.

Here is a screenshot from TheTheme theme.

image
image

Here is a screenshot from TheAdmin theme.

image

@MikeAlhayek
Copy link
Member Author

@jtkech incase you want to review this one again. I added shape table provider and used morphing to reduce reuse views. Let me know if you see something else or you are good with this.

@MikeAlhayek
Copy link
Member Author

@jtkech can you please review this PR when possible? I like to merge it soon

@MikeAlhayek MikeAlhayek merged commit f91748f into OrchardCMS:main Aug 31, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make UserMenu and LoginMenu extensible to using drivers
3 participants