-
I have created a custom theme and I want to redefine the login page. The login page is defined under the custom theme as Views \ OrcardCore. Users \ Account \ Login. cshtml. Why does the custom login page not take effect when I deploy my custom theme? The key is that I have also enabled my custom theme. Can you provide some documentation or videos to help me? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I already did a custom page in Orchard Core Contrib (OCC), for more info check https://github.com/OrchardCoreContrib/OrchardCoreContrib.Modules/blob/main/src/OrchardCoreContrib.Themes.Admin/Views/Layout-Login.cshtml |
Beta Was this translation helpful? Give feedback.
-
You need to tick the "use site theme" (or something similar) option under the login settings on the admin so it picks up the template from the theme. |
Beta Was this translation helpful? Give feedback.
I already did a custom page in Orchard Core Contrib (OCC), for more info check https://github.com/OrchardCoreContrib/OrchardCoreContrib.Modules/blob/main/src/OrchardCoreContrib.Themes.Admin/Views/Layout-Login.cshtml