Activities of "lba"

It's just the default Lepton theme menu. For the test project you requested I added "My Page" and modified "Home" in order to demonstrate the issue I described.

If you click "My Page" in the navigation bar it will be highlighted (like "Home" is in your screenshot). If you click "Navigate to my page" (as seen in your screenshot) you will see the page "My Page" ( /mypage ), but there is no highlight on "My Page" in the navigation bar.

We need to have "My Page" highlighted in the navigation bar when using the " < a href='/mypage' > Navigate to my page < /a > ".

I've just sent you the email, thank you.

Hello Anjali Musmade, thank you for the response, but I think there's a misunderstanding.

Let me clarify: When using the navigation bar, the selected MenuItem is set as current. The corresponding HTML list element also receives the class "current". This is what we use to highlight the MenuItem. This behaviour is exclusive to the navigation bar. My question is: when we navigate to, say, the "Project" page using an HTML anchor element instead of the navigation bar - how do we replicate this behaviour?

Using the code you provided and configuring it in the module as follows works perfectly.

public override void ConfigureServices(ServiceConfigurationContext context)
{
    context.Services.AddSingleton<IDynamicResourceLocalizer, MyDynamicResourceLocalizer>();
}

We can now login without a tenant to update and localize our text which will then display as expected for all tenants.

Thank you!

Hi liangshiwei, thank you for your suggestion! I will check if this solves our problem and report back sometime around the middle of next week.

Showing 11 to 15 of 15 entries
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.