/user/plugins/login/templates/login.html.twig
I want to customize this file. Where should I place a copy of it, to be save from upgrade overrides? Cannot find anything about how to handle templates of plugins.
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Solved by pamtbaau View solution
/user/plugins/login/templates/login.html.twig
I want to customize this file. Where should I place a copy of it, to be save from upgrade overrides? Cannot find anything about how to handle templates of plugins.
@Spica, You can override templates from plugins by copying the template from the plugin into your theme using the exact same folder hierarchy. Like:
/user/plugins/login/templates/login.html.twig --> /users/themes/my-theme/templates/login.html.twig
Log in to reply.
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 4 | 197 | 2 months ago | ||
| 3 | 92 | 2 months ago | ||
| 11 | 454 | 3 months ago | ||
| 0 | 47 | 3 months ago | ||
| 5 | 127 | 3 months ago |