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

Icon for Custom Setting menu item #10367

Closed
Azaliusz opened this issue Sep 29, 2021 · 2 comments · Fixed by #13613
Closed

Icon for Custom Setting menu item #10367

Azaliusz opened this issue Sep 29, 2021 · 2 comments · Fixed by #13613
Milestone

Comments

@Azaliusz
Copy link

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

I created a setting using Custom Settings and wanted to set the item icon in the menu that came with it, but I haven't found a solution so far.

Describe the solution you'd like

If a .Id(type.Name) were added to the builder in the CustomSettings/AdminMenu.BuildNavigationAsync method, the menu item could be overriden with a shape named NavigationItemText-NAME_OF_SETTINGS.Id.

Describe alternatives you've considered

@Piedone
Copy link
Member

Piedone commented Sep 29, 2021

An AddClass() would be useful too.

@sebastienros sebastienros added this to the 1.0.x milestone Sep 30, 2021
@sebastienros
Copy link
Member

In OrchardCore.CustomSettings.AdminMenu call something like AddClass(type.Classified()).Id(type.Classified) for each created item.

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

Successfully merging a pull request may close this issue.

3 participants