Activities of "berkansasmaz"

Hello,

I am going to explain how to do this step by step below.

1-) Create menu.js and menu.css in Themes/Lepton/Component/Header folder.

menu.js
$(function () {
    var menuItems = document.querySelectorAll('li.has-drop');
    Array.prototype.forEach.call(menuItems, function (el, i) {
        el.querySelector('a').addEventListener("click", function (event) {
            if (this.parentNode.classList.contains("has-drop")) {
                this.parentNode.classList.add('open'); // The important thing is that you add this class because we will arrange it accordingly on the css side.
            } else {
                this.parentNode.className = "has-submenu";
                this.setAttribute('aria-expanded', "false");
            }

            event.preventDefault();
            return false;
        });
    });
});

menu.css
.lp-topmenu .lp-sidebar .lp-sidebar-wrapper nav ul li.open {
    background: rgba(0, 0, 0, 0.1);
}
.lp-topmenu .lp-sidebar .lp-sidebar-wrapper nav ul li.open > ul {
    display: block !important;
}
.lp-topmenu .lp-sidebar .lp-sidebar-wrapper nav ul li.open .lp-icon {
    color: #feba57;
}
.lp-topmenu .lp-sidebar .lp-sidebar-wrapper nav ul li.open a {
    color: #000000;
}

2-) Finally, add the following code to the ConfigureServices method of MyProjectNameWebPublicModule.

        Configure<AbpBundlingOptions>(options =>
        {
            options.ScriptBundles
                .Configure(
                    StandardBundles.Scripts.Global,
                    bundleConfig =>
                    {
                        bundleConfig.AddFiles("/Themes/Lepton/Components/Header/menu.js");
                    });
            options.StyleBundles
                .Configure(
                    StandardBundles.Styles.Global,
                    bundleConfig => { bundleConfig.AddFiles("/Themes/Lepton/Components/Header/menu.css"); 
                    });
        });

Result

Got it, I'm going to add a module to the sample application you provided and try to reproduce the problem.

Can you provide an online website?

Hi again, sorry but I can't reproduce the problem. After running the project, I created a tenant and logged in to the application with that tenant's admin user, then I waited for 10 minutes, but I could not see a problem. Is there something I missed? Please guide me so that I can reproduce the error.

Hello, thanks for your detailed problem description, after some research I saw that you cannot extend the api-definitions end-point. Because ApplicationConfigurationDto is not an extensible object.

But I will talk to the team to see if there are other ways you can do this.

References

  1. https://github.com/abpframework/abp/blob/b6718cbd84d17d4b3d71fb0a30c1aa8530cdda47/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationAppService.cs#L81
  2. https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc.Contracts/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/ApplicationConfigurationDto.cs

Closing the issue. Feel free to re-open, if you have any further questions on this topic.

Closing the issue. Feel free to re-open, if you have any further questions on this topic.

Hi, I found another related question.

See: https://support.abp.io/QA/Questions/3267

You can find the workaround suggestion there.

In the Production environment of ABP templates, the default log level is Information, so the logs at the Debug level are not visible, but there is a log at the Debug level in the log you sent. As a result, it seems to me that somehow your application is running in Development mode. But just to be sure, can you tell me your log level in Production mode?

Also, after you logout with abp cli in your local, do you have a chance to publish and run the application with Production mode? Thus, we understand that the problem is not related to base images or not.

Hello again, I am looking forward to the minimal reproducible example of the problem.

Showing 581 to 590 of 743 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.2.0-preview. Updated on February 17, 2026, 09:10
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.