Activities of "liangshiwei"

https://github.com/abpframework/abp/pull/18390

Hi,

Because localized text is missing, You can add this in the localization file:

"Volo.Abp.Identity:PasswordRequiresUniqueChars": "Passwords must use at least {0} different characters."
Configure<AbpLocalizationOptions>(options =>
{
    options.Resources.Get<IdentityResource>().AddVirtualJson("/Localization/....");
});

Hi,

Thanks, I can reproduce this.

I will fix it and provide a temporary solution

Hi,

Could you check this? https://support.abp.io/QA/Questions/671#answer-4bc69b9f-01b0-dab5-2387-39f96e495eb9

Hi,

I added some changes to make it work, you can check my commit: https://github.com/spospisil/TestTheme/commit/09dfcc0ba8d64116aefb85807d40093d58d0b27a

Hi,

I will try to pull the Lepton X Pro Module source code and work on that directly. I assume that's where the MainHeader is located at?

Yes, you can download the Lepton X Pro Module source code and customize it.

Hi,

After checking the Abp/ApplicationConfigurationScript and Abp/ApplicationLocalizationScript endpoint response content-type is text/html.

They should be application/javascript

Can you share the full logs? thanks.

Answer

ok

Hi,

This is a simple way:

MyMainHeader.razor

@using Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenu.Navigation
@using Volo.Abp.LeptonX.Shared.Localization
@using Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenu.MainHeader
@using Volo.Abp.DependencyInjection

@inherits MainHeader
@attribute [Dependency(ReplaceServices = true)]
@attribute [ExposeServices(typeof(MainHeader))]

@{
	LocalizationResource = typeof(LeptonXResource);
}

<div class="lpx-sidebar-container">
	<div class="lpx-sidebar lpx-scroll-container" id="lpx-sidebar">
		<nav class="lpx-nav">
			<div class="lpx-logo-container" aria-hidden="true"
				   data-lpx-toggle="sidebar">
				
					<div class="lpx-brand-logo"></div>
				
				<i class="lpx-icon bi bi-filter-left menu-collapse-icon hidden-in-hover-trigger" >
				</i>
			</div>

			<div class="lpx-menu-filter hidden-in-hover-trigger" data-lpx-menu-filter="sidebar">
				<i class="lpx-icon bi bi-filter menu-filter-icon" aria-hidden="true"></i>
				<input class="menu-filter-input hidden-in-hover-trigger" type="text" placeholder="@L["FilterMenu"]" />
				<span class="menu-filter-clear hidden">
					<i class="lpx-icon bi bi-x clear-icon" aria-hidden="true"></i>
				</span>
			</div>
			<ul class="lpx-nav-menu" id="desktop-sidebar">
				<MainMenu />
			</ul>
		</nav>
	</div>
</div>

blazor-global-styles.css

.hover-trigger .lpx-sidebar-container:hover {
  min-width: 72px !important;
}

.hover-trigger .lpx-sidebar-container:hover .lpx-logo-container {
  max-width: 72px !important;
}

.hover-trigger .lpx-sidebar-container:hover .lpx-sidebar {
  min-width: 72px !important;
}

.hover-trigger .lpx-sidebar-container:hover .lpx-sidebar .lpx-nav {
  min-width: 72px!important;
}

.hover-trigger .lpx-sidebar-container:hover .lpx-brand-logo {
  background-image: var(--lpx-logo-icon) !important;
}

.hover-trigger .lpx-sidebar-container:hover .hidden-in-hover-trigger {
  display: none !important;   
}

It has a limitation, but when the menu is closed, you cannot see and select menu items

Answer

No, As I said you try to replace the AbpSelectTagHelperService instead of AbpTagHelperService<AbpSelectTagHelper>, AbpSelectTagHelper

For example:

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(AbpSelectTagHelperService))]
public class MySelectTagHelperService : AbpSelectTagHelperService
{
    public MySelectTagHelperService(IHtmlGenerator generator, HtmlEncoder encoder, IAbpTagHelperLocalizer tagHelperLocalizer, IStringLocalizerFactory stringLocalizerFactory, IAbpEnumLocalizer abpEnumLocalizer) : base(generator, encoder, tagHelperLocalizer, stringLocalizerFactory, abpEnumLocalizer)
    {
    }

    public override void Process(TagHelperContext context, TagHelperOutput output)
    {
        ...
        base.Process(context, output);
    }
}
Showing 2901 to 2910 of 6692 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20