Open Closed

LeptonX theme 4.2.1 Source Code #10273


User avatar
0
ocoates created

Hi team,

I am creating a custom partial module to include in the LeptonX side menu layout. All my research indicates getting the source code for the side menu layout to expose the module across the pages. Can you assist in providing the source code for the LeptonX theme?

LeptonX theme version is 4.2.1

Thank you kindly.

Regards,


5 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    1. You can get the LeptonX 4.2.1 source code only from your ABP/LeptonX license area

      • The LeptonX theme source is not published as a public GitHub repo; it’s downloaded according to your license.
      • Follow these steps:
        1. Sign in to your account on abp.io with the user that owns the LeptonX (or ABP Commercial) license.
        2. Go to your License / Products section.
        3. Find LeptonX Theme (or the ABP Commercial package that includes it).
        4. In the LeptonX page, there will be a “Source Code” (or similarly named) download for the MVC UI and the specific version (e.g. 4.2.x).
        5. Download the MVC source package that matches your ABP/LeptonX version (4.2.1).

      The official documentation describes this in the “Source-Code” section for LeptonX MVC UI.

    2. How this helps with customizing the side menu layout

      • Once you download and extract the LeptonX MVC source package:
        • You will see the theme project (typically a Razor Class Library) that contains:
          • Layout views (e.g. _Layout.cshtml, side menu partials, etc.).
          • The partials and tag helpers used to render the side menu and modules.
        • You can inspect the existing side menu layout partial to see:
          • How the menu is built from IMenuManager / ApplicationMenu.
          • How sections/partials are injected (where to plug your custom partial module).

      A common approach is:

      • Copy the relevant LeptonX layout/partial into your own MVC project (keeping folder structure under Views/Shared or Themes/LeptonX/… compatible with ABP’s view lookup rules).
      • Adjust it to render your custom partial where you need it in the side menu.
      • Ensure your MVC project uses your overridden layout/partial (ABP will pick your view first if the path & name match the theme’s one).

    Sources

    • LeptonX MVC UI docs (see “Source-Code” section):
      https://abp.io/docs/latest/ui-themes/lepton-x/mvc

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    > abp get-source Volo.Abp.LeptonXTheme  --version 4.2.1
    

    Thanks.

  • User Avatar
    0
    mfrancislig created

    Hi,

    Thank you for getting back to me. I have been trying that in the account that purchased the commercial license.

    The error log from the cli shows below:

    [14:22:35 ERR] Downloading source code failed for: Volo.Abp.LeptonXTheme Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown. at async Task Volo.Abp.Studio.Modules.Installing.SourceCodeDownloader.
    DownloadSourceCodeAsync(string moduleName, string targetFolder, string
    version, bool includeNightly) at async Task Volo.Abp.Studio.Cli.Commands.StudioGetSourceCommand.ExecuteAsync (CommandLineArgs commandLineArgs) at async Task Volo.Abp.Studio.Cli.StudioCliService.RunInternalAsync( CommandLineArgs commandLineArgs) at async Task Volo.Abp.Studio.Cli.StudioCliService.RunAsync(string[] args)

    Kindly assist. Thanks.

  • User Avatar
    0
    ocoates created

    For more context, the account that holds the Team license is under user mfrancislig, and one of the developers is ocoates. Can the source code for leptonx be downloaded for the mfrancislig account?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The owner account can download the module source code.

    Thanks.

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.2.0-preview. Updated on January 07, 2026, 08:03
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.