Starts in:
1 DAY
23 HRS
1 MIN
58 SEC
Starts in:
1 D
23 H
1 M
58 S
Open Closed

How to override LEPTON X account layout? #4039


User avatar
1
PedroCadevilla created
  • ABP Framework version: v6.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

I'm trying to modify entirely the login page but keep using lepton x theme I've checked the documentation and it appears to be only information about replacing layout with basic theme which I don't have installed in my solution is there a way to get the source code like abp get-source @volosoft/lepthon-x something like that to use directly from there or is there a way to mantain the lepthon x layoutu but only make modifications like remove entirely left image and center rest of the content


10 Answer(s)
  • User Avatar
    0
    david.hurtado created

    I have the same question but with Blazor Server.

  • User Avatar
    0
    PedroCadevilla created

    Let's hope there is a solution because in the documentation i'm not finding a proper way to do it and the current ones are not compatibles with the lepton x

  • User Avatar
    0
    mahmut.gundogdu created

    if you want to fully replace the login page, you can use ReplacableSystem.https://docs.abp.io/en/abp/latest/UI/Angular/Component-Replacement#how-to-replace-a-component

    Here is an example of implementing a custom layout. Only difference is , you should select AccountLayout (not the application layout) https://gist.github.com/mahmut-gundogdu/72e8a9c1a4c41d6d5bf2d53c43d874df

  • User Avatar
    0
    PedroCadevilla created

    Following the repo solution to fix layout let you know as soon as possible

  • User Avatar
    0
    PedroCadevilla created

    The application layout changes works properly but the account layout doesnt change under any circunstances the login page I have used both approach yours implemented in github link using accountLayout and also documentation of replacing layouts in abp io documentation none of those works for changin login page still shows the same even the layout is empty

  • User Avatar
    0
    PedroCadevilla created

    Still no solution regarding replacing account layout component layout created and fully working from my side on application layout but no look on overriding account one at the moment I change the layout to override the login doesnt seem to be affected by this... Could any one help me out on this one?

  • User Avatar
    0
    mahmut.gundogdu created

    The application layout changes works properly but the account layout doesnt change under any circunstances the login page I have used both approach yours implemented in github link using accountLayout and also documentation of replacing layouts in abp io documentation none of those works for changin login page still shows the same even the layout is empty

    I have tested in 6.0.1 and it works well. Here my code.

    https://gist.github.com/mahmut-gundogdu/b978da92f476f6ed32f8efabe946affa

    Please don't forget the check your auth flow. It should be "Resource Owner Password Flow"

    https://docs.abp.io/en/abp/latest/UI/Angular/Authorization#resource-owner-password-flow

  • User Avatar
    0
    PedroCadevilla created

    The solution was changing the auth flow thanks for the help

  • User Avatar
    0
    tommy.reynolds@pentair.com created

    Hi ABP Support,

    Thanks for your support about the way to change the lepton login. It works fine. But we also have to add the TenantBox part above the login. Can you help me how to do that?

    Thanks

  • User Avatar
    0
    mahmut.gundogdu created

    Hi ABP Support,

    Thanks for your support about the way to change the lepton login. It works fine. But we also have to add the TenantBox part above the login. Can you help me how to do that?

    Thanks

    Hi tommy.reynolds@pentair.com, Could you please create a new ticket ? I don't want to bother the owner of the question with our notifications.

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