Activities of "fatih.kilic"

You can import ThemeSharedModule like below. Will use YourErrorComponent for describe in** forWhichErrors** array.

    ThemeSharedModule.forRoot({
      httpErrorConfig: {
        errorScreen: {
          component: YourErrorComponent,
          forWhichErrors: [401, 403, 404, 500],
          hideCloseIcon: true,
        },
      },

RoutesService can be used to patch the routes.

import { RoutesService } from '@abp/ng.core';
import { APP_INITIALIZER } from '@angular/core';

export const APP_ROUTE_PROVIDER = [
  { provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },
];

function configureRoutes(routes: RoutesService) {
  return () => {
    routes.patch('AbpIdentity::Menu:IdentityManagement', {
      iconClass: 'fas fa-chart-line',
    });
  };
}

This document has more information.

  • https://docs.abp.io/en/abp/latest/UI/Angular/Modifying-the-Menu#how-to-patch-or-remove-a-navigation-element

If you want to add component to navbar, you can replace Navbar and NavbarMobile.

constructor(replaceableComponents: ReplaceableComponentsService) {

  replaceableComponents.add({
    component: YourComponent,    key: eThemeLeptonComponents.Navbar,  });  

replaceableComponents.add({
    component: YourMobileComponent,    key: eThemeLeptonComponents.NavbarMobile,  });}

and also you can import like below.

import { ReplaceableComponentsService } from '@abp/ng.core';
import { eThemeLeptonComponents } from '@volo/abp.ng.theme.lepton';

Can you try it on cli ?

yarn add @volo/abp.ng.account.core

Can you try it on cli ?

yarn add @volo/abp.ng.account.core

I checked your AccountLayoutModule import but it is false. You must import it from '@volosoft/abp.ng.theme.lepton-x/account' but you imported from '@abp/ng.theme.lepton-x/account'.Please add below import instead of your AccountLayoutModule import.

import { AccountLayoutModule } from '@volosoft/abp.ng.theme.lepton-x/account';

Please use your package manager instead of yarn. Like npm etc.

you can use like below.

npm i @abp/ng.theme.lepton-x

When you add @abp/ng.theme.lepton-x/account to the node_modules, your problem is going to solved.

Can you try it on cli ?

yarn add @abp/ng.theme.lepton-x/account

For Issue 4, I checked menu on 4.4.2 project but I did not take any error like yours. Did you change anywhere ? It can be reason of this error.

Can you check your import ? Import must be like below.

import { AccountLayoutModule } from '@volosoft/abp.ng.theme.lepton-x/account';

And also, is your theme is lepton-x ? Can you let me know which theme you are using?

Showing 1 to 10 of 17 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11