Skip to content

Is it possible to group all CustomSettings admin menu items? #15007

Answered by weirdyang
weirdyang asked this question in Q&A
Discussion options

You must be logged in to vote
    [RequireFeatures("OrchardCore.CustomSettings")]
    public class CustomSettingStartup : StartupBase
    {
        // ensure it runs after custom settings 
        public override int Order => 2000;
        public override int ConfigureOrder => 2000;
        public override void ConfigureServices(IServiceCollection services)
        {

            services.AddScoped<INavigationProvider, CustomSettingAdminMenu>();
        }
    }
    public class CustomSettingAdminMenu:INavigationProvider
    {
        private readonly CustomSettingsService _customSettingsService;
        private readonly IStringLocalizer _s;

        public CustomSettingAdminMenu(
            IStringLocalizer<CustomSet…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@weirdyang
Comment options

Answer selected by weirdyang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant