-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to override Login page #17046
Comments
@hishamco what does broken means? To override the login form you'll need to override the view If you want to override the Username and the Password you'll override the |
Not displayed properly I already override it with no luck, I'm unable to change the login button style nor any text in the form |
Please share the code you are using to override. |
I just override the views, or did I miss something else? |
If you override the views correctly, then it should have worked. If you share the name of the view you overrode and the code you used in each view, I can try to see what you could be doing wrong. |
I refer to the code above and the proposed views too |
The view OrchardCoreContrib/OrchardCoreContrib.Modules/blob/main/src/OrchardCoreContrib.Themes.Admin/Views/OrchardCore.Users/Account/Login.cshtml seems to be identical to OC's version. what changes were you looking to do? |
Style the login button for instance |
Yes for that you'll need to override the Login.cshtml view. Maybe you're not placing that view in the right path. Is it in a theme? Where is it placed? |
If you look at the link above the login is placed in the theme inside
The login just a wrapper and the |
Yes LoginForm.Edit.cshtml is what you need to override if you want to change the form section of the Login.cshtml |
I already mentioned here that I already override it with no luck |
It's an admin theme |
@hishamco which version? I have no issue with 2.0.2 |
|
I have an admin theme in Orchard Core Contrib (OCC) that overrides the login previously without any issue https://github.com/OrchardCoreContrib/OrchardCoreContrib.Modules/blob/main/src/OrchardCoreContrib.Themes.Admin/Views/OrchardCore.Users/Account/Login.cshtml after upgrading OC to
2.0.0
the UI is broken, I fixed almost thing but the issue I can't override the login form. I tried to addLoginForm.Edit.cshtml
andLoginFormCredentials.cshtml
with no luck/cc @MikeAlhayek
The text was updated successfully, but these errors were encountered: