Open Closed

Angular lepton-x general settings #4456


User avatar
0
steve.burgess created
  • ABP Framework version: v6.0.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes (OpenIddict)
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi,

I'm trying to figure out how to remove items from the "General Settings" menu in the Angular lepton-x theme without replacing the component.

This section

Is this possible?

Thanks,

Steve.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

2 Answer(s)
  • User Avatar
    0
    mahmut.gundogdu created

    The Settings component uses " SidebarSettingsService " for creating items, but it can change with your service.

    Go to app.module ts. and change lpx settins service with LPX_SETTINGS_SERVICE token.

    import { LPX_SETTINGS_SERVICE } from '@volosoft/ngx-lepton-x/layouts'
    
        //..
      providers: [
      //..
      {
        provide: LPX_SETTINGS_SERVICE ,
        useClass: CustomSidebarSettingsService,
      }],
      bootstrap: [AppComponent],
    })
    export class AppModule {}
    

    here example ' SidebarSettingsService.ts '

    https://gist.github.com/mahmut-gundogdu/73a1cd2d854cd1cf6e2bf15a92c7cca1

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    steve.burgess created

    OK, thanks for that.

    Cheers,

    Steve.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.