ABP 7.0.1 Commercial / Blazor Server / EF / Separated Tenant and Host DBs/ Non-tiered
Hi, We are attempting to change the order of the tabs in the "My Account" area. To do so, we considered replacing/overriding the AccountProfileManagementPageContributor and overriding the ConfigureAsync method so that we can add the tab groups in a custom order. We found, however, that ConfigureAsync is not overridable (virtual).
Are we going about this correctly or is there another way to accomplish this? If not, we'd like to put in a request to make the ConfigureAsync method of AccountProfileManagementPageContributor overridable.
Thanks in advance!
2 Answer(s)
-
0
Hi,
You can remove the
AccountProfileManagementPageContributor
and add yourPageContributor
to add page groupsConfigure<ProfileManagementPageOptions>(options => { options.Contributors.RemoveAll(x => x.GetType() == typeof(AccountProfileManagementPageContributor)); options.Contributors.Add(new MyAccountProfileManagementPageContributor()); });
-
0
Thanks, @liangshiwei! This was everything I needed to customize the personal settings area as needed.