0
balessi75 created
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!
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
2 Answer(s)
-
0
Hi,
You can remove the
AccountProfileManagementPageContributorand add yourPageContributorto add page groupsConfigure<ProfileManagementPageOptions>(options => { options.Contributors.RemoveAll(x => x.GetType() == typeof(AccountProfileManagementPageContributor)); options.Contributors.Add(new MyAccountProfileManagementPageContributor()); });Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)