Open Closed

Show accountlayout on login screen #2959


User avatar
0
safi created

Hi

I want to show the account layout UI on the login screen. I am using commercial abp blazor io project and the login screen comes with no theme only login forms come so can we show the layout here same as we show after login but before login, we will hide all menus.

  • ABP Framework version: v4.43
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

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

    Hi,

    You can change the layout.

    @{
        Layout = ThemeManager.CurrentTheme.GetApplicationLayout();
    }
    
  • User Avatar
    0
    safi created

    Hi,

    You can change the layout.

    @{ 
        Layout = ThemeManager.CurrentTheme.GetApplicationLayout(); 
    } 
    

    yes, thanks for the reply it's working but can we show a layout like this.

    Current layout :

    Needed layout

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Yes, you can change the layout name.

    @{ 
        Layout = ...your layout name
    } 
    
  • User Avatar
    0
    safi created

    Yes, you can change the layout name.

    @{  
        Layout = ...your layout name 
    }  
    

    I don't have any customized layout but the problem is this screen comes from blazor and the other screen comes from the host.

  • User Avatar
    0
    safi created

    Yes, you can change the layout name.

    @{  
        Layout = ...your layout name 
    }  
    

    In host, we don't have lepton them and in blazor we have so how can I add lepton in the host project so it will resolve this.

  • User Avatar
    0
    safi created

    Yes, you can change the layout name.

    @{   
        Layout = ...your layout name  
    }   
    

    In host, we don't have lepton them and in blazor we have so how can I add lepton in the host project so it will resolve this.

    Is there anyone to check this and provide solution

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer
    1. abp add-package Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton
    2. Add "@volo/abp.aspnetcore.mvc.ui.theme.lepton": "your version" to package.json
    3. Run abp install-libs
  • User Avatar
    0
    safi created
    1. abp add-package Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton
    2. Add "@volo/abp.aspnetcore.mvc.ui.theme.lepton": "your version" to package.json
    3. Run abp install-libs

    above command needs to run in command prompt?

  • User Avatar
    0
    safi created

    @volo/abp.aspnetcore.mvc.ui.theme.lepton

    It's already added in package.json

    how can I show lepton theme in host project

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    In host, we don't have lepton them and in blazor we have so how can I add lepton in the host project so it will resolve this. above command needs to run in command prompt

    In your case, should be in the host project folder.

    BTW, I remember that the lepton theme should be pre-installed when you use the ABP suite to create a new project.

    how can I show lepton theme in host project

    When you have done all things, it should be working.

  • User Avatar
    0
    safi created

    In host, we don't have lepton them and in blazor we have so how can I add lepton in the host project so it will resolve this. above command needs to run in command prompt

    In your case, should be in the host project folder.

    BTW, I remember that the lepton theme should be pre-installed when you use the ABP suite to create a new project.

    how can I show lepton theme in host project

    When you have done all things, it should be working.

    This is my host project packages

    Package.json

  • User Avatar
    0
    safi created

    In host, we don't have lepton them and in blazor we have so how can I add lepton in the host project so it will resolve this. above command needs to run in command prompt

    In your case, should be in the host project folder.

    BTW, I remember that the lepton theme should be pre-installed when you use the ABP suite to create a new project.

    how can I show lepton theme in host project

    When you have done all things, it should be working.

    Can we just connect for 5 mins on zoom?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can try it first, I think it should be easy to do.

  • User Avatar
    0
    safi created

    Hi,

    You can try it first, I think it should be easy to do.

    Getting this error

  • User Avatar
    0
    safi created

    Hi,

    You can try it first, I think it should be easy to do.

    Getting this error

    Are you there?

  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    Try abp install-libs command under the project you are getting this error.

  • User Avatar
    0
    safi created

    abp install-libs

    It's already installed in host project and after running getting above error

  • User Avatar
    0
    safi created

    Hi,

    You can try it first, I think it should be easy to do.

    Can we check this pls

  • User Avatar
    0
    safi created

    Hi,

    You can try it first, I think it should be easy to do.

    Can we check this pls

    Is anyone there?

  • User Avatar
    0
    safi created

    abp install-libs

    I am using 4.4.3 abp version and it's installing the latest one so can we give version in this.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I am using 4.4.3 abp version

    It should be ~4.3.3 if you are using version 4.4.3

  • User Avatar
    0
    safi created

    abp install-libs

    I am using 4.4.3 abp version and it's installing the latest one so can we give version in this.

    Hi liangshiwei

    can u pls check this

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    HI,

    join the meeting: https://zoom.us/j/99950578218?pwd=YTEzTG5Jb2ZQeWVwWWo0aUNGdlpWUT09

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Solved

  • User Avatar
    0
    safi created

    Solved

    After adding ABP libs into the host project and changing the environment to the production site is not working. It's throwing a 500 error and If I check in the log file the getting below error

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11