Open Closed

Upgrade from abp 5 to 7.4 LeptonX package issues #6401


User avatar
0
Dina created

ABP Framework version: v7.4 UI Type: MVC Database System: EF Core (SQL Server)

Hi, We have an issue while upgrading a project from abp version 5 to 7.4.2, we want to use LeptonX instead of the Lepton theme.

So when we run the command "dotnet add package Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX --prerelease"

using Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX;

is added to the ProjectWebModule.cs , but the package is not installed !!


9 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    We have a document, you can check it:

    https://docs.abp.io/en/commercial/7.4/themes/lepton-x/mvc

  • User Avatar
    0
    Dina created

    Yes, we already checked the document but "abp add-package Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" command does not install the package correctly!

  • User Avatar
    0
    Dina created

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Sorry, should install the version 2.4.3.

    You can try add this to the Web.csproj file

    <ItemGroup>
        <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="2.4.3" />
    </ItemGroup>
    
  • User Avatar
    0
    Dina created

    Hi,

    We have two questions please, 1.Is there any configuration for lepton theme to use side menu not top menu cause latest version is using top? 2.what is the best way to add some meta tags in application without customizing theme in both lepton and leptonx?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Is there any configuration for lepton theme to use side menu not top menu cause latest version is using top?

    Do you mean leptonx? https://docs.abp.io/en/commercial/latest/themes/lepton-x/mvc#leptonxthememvcoptions

    what is the best way to add some meta tags in application without customizing theme in both lepton and leptonx?

    You can use the layout hook: https://docs.abp.io/en/abp/latest/UI/AspNetCore/Layout-Hooks

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    For lepton theme:

    You can use the settings:

    // MenuPlacement.Left
    // MenuPlacement.Top
    await SettingManager.SetForCurrentTenantAsync(LeptonThemeSettingNames.Layout.MenuPlacement, ...);
    

    Or appsettings.json

    {
      "Settings": {
        "Volo.Abp.LeptonTheme.Style": "Style6", /* Options: Style1, Style2... Style6 */
        "Volo.Abp.LeptonTheme.Layout.MenuPlacement": "Left", /* Options: Left, Top */
        "Volo.Abp.LeptonTheme.Layout.MenuStatus": "AlwaysOpened", /* Options: AlwaysOpened, OpenOnHover */
        "Volo.Abp.LeptonTheme.Layout.Boxed": "False", /* Options: True, False */
      }
    }
    
  • User Avatar
    0
    Dina created

    ABP Framework version: v7.4.2 UI Type: MVC Database System: SQL Server

    Hi,

    While trying to download the source code of the LeptonX theme (any version) from abp suite, we got an error

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Can you please create a new question, thanks.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15